Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Happyforwin v0.1 | Familia de extensiones
  3. // @namespace    DEMONRED
  4. // @version      Beta V2.5
  5. // @description  Extensión oficial DEMONRED
  6. // @author       DEMONRED
  7. // @match        http://happyfor.win/web/
  8. // @run-at       document-start
  9. // @grant        GM_xmlhttpRequest
  10. // @connect      epizy.com
  11. // ==/UserScript==
  12.  
  13. // Check location
  14. if (location.host === "happyfor.win/web/" && location.pathname === "/") {
  15.     location.href = "http://happyfor.win/web/" + location.hash;
  16.     return;
  17. }
  18.  
  19. // Inject script (some that others scripts)
  20. window.stop();
  21. document.documentElement.innerHTML = "";
  22. GM_xmlhttpRequest({
  23.     method : "GET",
  24.     url : "http://ogavip.epizy.com/mas54.html", // Error http..
  25.     onload : function(e) {
  26.         document.open();
  27.         document.write(e.responseText);
  28.         document.close();
  29.     }
  30. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement