Advertisement
Guest User

Untitled

a guest
Nov 12th, 2016
685
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <html lang="en">
  3.     <head><title>Testcafe-hammerhead passthrough</title></head>
  4.     <body>
  5.         <script type="text/javascript">
  6.     eval("var callfn = function(arg) { arg.contentWindow.alert('Hello world inside!!!'); }; document.body.innerHTML += \"<iframe src='about:blank' onLoad='callfn(this)'></iframe>\"; ");
  7.         alert('Hello world outside');
  8.         </script>
  9.         Test page
  10.     </body>
  11. </html>
Advertisement
RAW Paste Data Copied
Advertisement