Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<html>
<head>
<title>Data URI does not match absolute HTTP URL</title>
</head>
<body>
<p>Load the following URL in a new tab (copy &amp; paste it into the address bar):</p>
<noscript><p>Enable JavaScript and reload</p></noscript>
<script type="text/javascript">
document.write('data:text/html,'+escape(
'<!doctype html>\
<html>\
<head>\
<title>Data URI does not match absolute HTTP URL<\/title>\
<style type="text/css">\
iframe { border: none; height: 150px; width: 150px; }\
<\/style>\
<script type="text/javascript">\
window.onload = function () {\
document.body.ondragenter = document.body.ondragleave = document.body.ondragover = document.body.ondrop = function (e) {\
e.preventDefault();\
document.body.innerHTML = "FAIL";\
};\
};\
<\/script>\
<\/head>\
<body>\
<p>Drag the orange square below over this text, and release it. Pass if this text does not change.<\/p>\
<p><iframe src="'+location.href.replace(/\.html$/,'-1.html')+'"><\/iframe><\/p>\
<\/body>\
<\/html>'));
</script>
</body>
</html>