bypass-all-shortlinks-deblo.../extra_bypasses/linkvertise.user.js
2024-10-16 13:14:18 +02:00

29 lines
811 B
JavaScript

// ==UserScript==
// @name Linkvertise Bypass
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
// @run-at document-start
// ==/UserScript==
// ----- Bypass Linkvertise ------
(function() {
'use strict';
if (/^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/.test(window.location.href)) {
//easy case
let rParam = new URLSearchParams(window.location.search).get('r');
if (rParam) {
window.location.assign(atob(rParam));
// hard case
} else {
// Bypass using Bypass.city API
window.location.assign('https://adbypass.org/bypass?bypass=' + window.location.href);
}
}
})();
// ----- ------ ----------