Greasy Fork

Greasy Fork is available in English.

desbloquea.me bypass

Bypass desbloquea.me shortlink

当前为 2024-02-03 提交的版本,查看 最新版本

// ==UserScript==
// @name         desbloquea.me bypass
// @version      1.1
// @description  Bypass desbloquea.me shortlink
// @author       Rust1667
// @match        https://desbloquea.me/s.php?i=*
// @run-at       document-start
// @namespace http://greasyfork.icu/users/980489
// ==/UserScript==

function rot13(input) {
    return input.replace(/[a-zA-Z]/g, function(c) {
        return String.fromCharCode((c <= "Z" ? 90 : 122) >= (c = c.charCodeAt(0) + 13) ? c : c - 26);
    });
}

var currentURL = window.location.href;
var encodedURL = currentURL.split('?i=')[1]
var decodedURL = rot13(atob(atob(atob(atob(atob(encodedURL))))));
var cleanURL = decodedURL.split('|')[0];

window.location.replace(cleanURL);