005-manual.html (1123B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>JavaScript URI does not match absolute HTTP URL</title> 5 </head> 6 <body> 7 <p>Load the following URL in a new tab (copy & paste it into the address bar):</p> 8 <noscript><p>Enable JavaScript and reload</p></noscript> 9 10 <script type="text/javascript"> 11 document.write('javascript:unescape("'+escape( 12 '<!doctype html>\ 13 <html>\ 14 <head>\ 15 <title>JavaScript does not match absolute HTTP URL<\/title>\ 16 <style type=\'text/css\'>\ 17 iframe { border: none; height: 150px; width: 150px; }\ 18 <\/style>\ 19 <script type=\'text/javascript\'>\ 20 window.onload = function () {\ 21 document.body.ondragenter = document.body.ondragleave = document.body.ondragover = document.body.ondrop = function (e) {\ 22 e.preventDefault();\ 23 document.body.innerHTML = \'FAIL\';\ 24 };\ 25 };\ 26 <\/script>\ 27 <\/head>\ 28 <body>\ 29 <p>Drag the orange square below over this text, and release it. Pass if this text does not change.<\/p>\ 30 <p><iframe src=\''+location.href.replace(/\.html$/,'-1.html')+'\'><\/iframe><\/p>\ 31 <\/body>\ 32 <\/html>')+'")'); 33 34 </script> 35 </body> 36 </html>