1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/inlinescript.html

16 lines
376 B
HTML
Raw Normal View History

<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>