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