Advertisement
Slowstone72

redirect

Dec 20th, 2024
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.92 KB | Software | 0 0
  1. /* Ancient code published for archival purposes. May or may not work or be relevant.
  2. Feel free to do whatever you want with this, if anything.
  3. Archive from 2017-10-07 - contents may be older. */
  4.  
  5. setTimeout(function(){ window.alert("Starting EpicOS AI.."); }, 2000);
  6. setTimeout(function(){ document.write("Hi, "); }, 5000);
  7. setTimeout(function(){ document.write("im EpicOS AI."); }, 7000);
  8. website = "https://www.youtube.com/"
  9. MPP.chat.send('Are you sure you want to redirect to ' + website + '?');
  10.  
  11. setTimeout(function(){ var r = confirm("Would you like to go to the selected website?");
  12. if (r == true) {
  13.     window.location = website;
  14. } else {
  15.     document.write("Canceled by user.");;
  16. }
  17.  }, 9000);
  18.  
  19.  
  20. setTimeout(function(){ var r = confirm("Would you like to go to the selected website?");
  21. if (r == true) {
  22.     MPP.chat.send('Redirecting to ' + website);
  23. } else {
  24.     MPP.chat.send('Canceled by user.');
  25. }
  26.  }, 9000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement