iogames.space Redirect 2020

Redirects games from iogames.space to thier source websites

  1. // ==UserScript==
  2. // @name iogames.space Redirect 2020
  3. // @version 2.2
  4. // @description Redirects games from iogames.space to thier source websites
  5. // @author ARISTheGod
  6. // @website https://github.com/ARISTheGod
  7. // @supportURL https://github.com/ARISTheGod/iogames.space-redirect-2020/issues
  8. // @match http://iogames.space/*
  9. // @match https://iogames.space/*
  10. // @grant none
  11. // @namespace https://greasyfork.org/en/scripts/404892
  12. // ==/UserScript==
  13.  
  14.  
  15. // RUN AFTER 6s delay
  16. setTimeout(function() {
  17. var iframedatagamestring=document.getElementById("game_iframe_window");[0];
  18. iframedatagamestring && !iframedatagamestring.src.startsWith(location.origin) && location.replace(iframedatagamestring.src);
  19. }, 6000);