Auto refresh D2L.com/wait.html

Automatically refresh wait.html on d2l

  1. // ==UserScript==
  2. // @name Auto refresh D2L.com/wait.html
  3. // @namespace autoRefreshD2L
  4. // @description Automatically refresh wait.html on d2l
  5. // @include http://dota2lounge.com/wait.html
  6. // @version final
  7. // @grant none
  8. // @author Endzior
  9. // ==/UserScript==
  10.  
  11. function changePage()
  12. {
  13. window.location = "http://dota2lounge.com";
  14. window.location = "http://dota2lounge.com/mybets"
  15. //window.location = "http://dota2lounge.com/myprofile";
  16. }
  17.  
  18. numberOfMSToWait = 0;
  19. setTimeout(changePage(), numberOfMSToWait);