Last active
May 26, 2021 01:56
-
-
Save secludedhusky/30d2fa4f0bb6ad8e66dea5a6cec709a7 to your computer and use it in GitHub Desktop.
Linkvertise Bypass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Linkvertise Bypass | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4.3 | |
// @description Bypass links that cannot be bypassed by Universal Bypass | |
// @author CaseyK9, FireMasterK | |
// @match *://*.linkvertise.com/* | |
// @match *://*.linkvertise.net/* | |
// @match *://*.link-to.net/* | |
// @match *://*.linkvertise.download/* | |
// @match *://*.file-link.net/* | |
// @match *://*.direct-link.net/* | |
// @grant GM.xmlHttpRequest | |
// ==/UserScript== | |
var url = window.location.href.toString(); | |
if (url.indexOf("?r=") != -1) { | |
window.location = atob(decodeURIComponent(url.substr(url.indexOf("?r=") + 3))); | |
} else { | |
// iframe check | |
if (window.parent.location != window.location) { return } | |
var paths = ["/captcha", "/countdown_impression?trafficOrigin=network", "/todo_impression?mobile=true&trafficOrigin=network"] | |
paths.map(path => { | |
GM.xmlHttpRequest({ | |
method: "GET", | |
headers: { | |
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1" | |
}, | |
url: "https://publisher.linkvertise.com/api/v1/redirect/link" + window.location.pathname + path | |
}); | |
}) | |
let o = { | |
timestamp: new Date().getTime(), | |
random: "6548307" | |
}; | |
var bypass_url = "https://publisher.linkvertise.com/api/v1/redirect/link/static" + window.location.pathname; | |
GM.xmlHttpRequest({ | |
method: "GET", | |
headers: { | |
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1" | |
}, | |
url: bypass_url, | |
onload: function (response) { | |
var json = JSON.parse(response.responseText); | |
o.link_id = json.data.link.id | |
o = { serial: btoa(JSON.stringify(o)) } | |
bypass_url = "https://publisher.linkvertise.com/api/v1/redirect/link" + window.location.pathname + "/target?X-Linkvertise-UT=" + localStorage.getItem("X-LINKVERTISE-UT"); | |
GM.xmlHttpRequest({ | |
method: "POST", | |
headers: { | |
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1", | |
"Content-Type": "application/json" | |
}, | |
data: JSON.stringify(o), | |
url: bypass_url, | |
onload: function (response) { | |
var json = JSON.parse(response.responseText); | |
window.location = json.data.target; | |
} | |
}); | |
} | |
}); | |
} | |
How to use it?
Add the script to Tampermonkey browser extension, if you're unsure how to do this, there's tutorials online.
how to use this ??
gplinks ?
how to use this ??
View installation instructions of the Tampermonkey extension https://www.tampermonkey.net/
Go to https://greasyfork.org/en/scripts/423611-linkvertise-bypass and click the Install button, and then follow all dialogs for Tampermonkey.
If you are unsure how to install this, you can contact me on Discord @ RoccoAWD#0001
or via email rocco@caseymediallc.com
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use it?