Skip to content

Instantly share code, notes, and snippets.

@jamesdeluk
Created May 17, 2023 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesdeluk/575d03d235467f8139974460f5ea0062 to your computer and use it in GitHub Desktop.
Save jamesdeluk/575d03d235467f8139974460f5ea0062 to your computer and use it in GitHub Desktop.
u=prompt("URL: ");
m=prompt("Minutes: ");
w=window.open(u);
i=setInterval(function(){w.location.href=u;},m*60*1000);
// javascript:(function()%7Bu%3Dprompt(%22URL%3A%20%22)%3B%0Am%3Dprompt(%22Minutes%3A%20%22)%3B%0Aw%3Dwindow.open(u)%3B%0Ai%3DsetInterval(function()%7Bw.location.href%3Du%3B%7D%2Cm*60*1000)%3B%7D)()%3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment