puppeteer/third_party/phantomjs/test/www/iframe.html

18 lines
405 B
HTML
Raw Normal View History

2017-05-11 07:06:41 +00:00
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
</head>
<body>
<script>
var target = decodeURIComponent(location.hash.slice(1).replace(/\+/g, " "))
.replace(/&/g, '&amp;')
.replace(/"/g, '&quot;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
document.write('<iframe src="' + target + '"></iframe>');
</script>
</body>
</html>