mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
[refactor] test/ecmascript -> test/js
This commit is contained in:
15
test/js/inlinescript.html
Normal file
15
test/js/inlinescript.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<script>
|
||||
<!-- hahaha
|
||||
function foo() { document.title += 'hahahaha'; }
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function nice_href() { return 'elinks.or.cz'; }
|
||||
document.title = document.url + ' xyzzy ';
|
||||
</script>
|
||||
<script type="text/perl">
|
||||
document.title += ' ERROR ERROR ';
|
||||
</script>
|
||||
<body onLoad=foo()>
|
||||
<p><a href="javascript:nice_href(0);">Quee</a></p>
|
||||
</body>
|
Reference in New Issue
Block a user