Advertisement
XenoTheStrange

[Tampermonkey] hurirk.net ad skip test

Sep 19th, 2021 (edited)
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         hurirk.net ad skip test
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  Try to open a new window at the target url instead of waiting 5 seconds
  6. // @author       You
  7. // @match        http://hurirk.net/ad/*
  8. // @icon         https://www.google.com/s2/favicons?domain=hurirk.net
  9. // @grant        none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13.     'use strict';
  14.     var href = document.location.href
  15.     var test = /url=([a-zA-Z0-9])*/i.exec(href)[0]
  16.     var target = "http://hurirk.net/-1/" + test.split("=")[1]
  17.     window.open(target)
  18.     window.close()
  19.     // Your code here...
  20. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement