mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33:02 +05:00
26 lines
828 B
JavaScript
26 lines
828 B
JavaScript
// ==UserScript==
|
|
// @name LinkSpy concatenated with clicksfly.com Bypass
|
|
// @match https://linkspy.cc/tr/*
|
|
// @run-at document-start
|
|
// ==/UserScript==
|
|
|
|
// ----- Bypass for linkspy.cc + clicksfly.com -----
|
|
(function() {
|
|
'use strict';
|
|
if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) {
|
|
|
|
//----Bypass linkspy.cc----
|
|
var decodedUrl = atob(window.location.href.split('/tr/')[1]);
|
|
var urlParam = new URLSearchParams(decodedUrl).get('url');
|
|
if (!decodedUrl.startsWith('https://clicksfly.com/') || !urlParam) {
|
|
window.location.assign(decodedUrl);
|
|
|
|
//----Bypass clicksfly.com----
|
|
} else if (decodedUrl.startsWith('https://clicksfly.com/') && urlParam) {
|
|
window.location.assign(atob(urlParam));
|
|
}
|
|
}
|
|
|
|
})();
|
|
// ----- ----- -----
|
|
|