Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Adfly Pushredirect skip (www##.whatever.pro/pushredirect)
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Skips straight to the download instead of redirecting through several pages.
- // @author You
- // @match *.darenjarvis.pro/pushredirect/*
- // @match *.christianivory.pro/pushredirect/*
- // @icon https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fjasonbgraham.com%2Fwp-content%2Fuploads%2F2019%2F01%2Fjasonbgraham-poop-icon.png&f=1&nofb=1
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- window.stop()
- var href = document.location.href
- var test = href.split("&")
- var encodedTarget = test[test.length-1].split("dest=")[1]
- var decodedTarget = decodeURIComponent(encodedTarget)
- var finalTarget = decodedTarget.replace("http://", "https://")
- document.location = finalTarget
- // Your code here...
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement