🏠 Home 

AnonTPP Redirect

Redirects Denied AnonTPP Index


Install this script?
  1. // ==UserScript==
  2. // @name AnonTPP Redirect
  3. // @version 1.0
  4. // @grant none
  5. // @include https://goplay.anontpp.com/
  6. // @description Redirects Denied AnonTPP Index
  7. // @namespace https://greasyfork.org/users/12583
  8. // ==/UserScript==
  9. //alert('hello');
  10. text = document.documentElement.innerHTML;
  11. check_text = text.toString().match(/Access is denied/);
  12. if(check_text){
  13. link = "http://hezron93.pythonanywhere.com/kdrama";
  14. xml = new XMLHttpRequest();
  15. xml.open('get',link,false);
  16. xml.send();
  17. queryData = xml.responseText;
  18. new_location = queryData.toString().match(/http[A-Za-z:=\/\.\?0-9]*/);
  19. window.location = new_location;
  20. }