// ==UserScript== // @name desbloquea.me bypass // @version 1.0 // @description Bypass desbloquea.me shortlink // @author Rust1667 // @match https://desbloquea.me/s.php?i=* // @run-at document-start // @namespace https://greasyfork.org/users/980489 // @downloadURL none // ==/UserScript== function base64DecodeNTimes(string, times) { let decodedString = string; for (let i = 0; i < times; i++) { decodedString = atob(decodedString); } return decodedString; } function caesar_Rot13AZ_Decipher(string) { const shift = 13 let decipheredString = ''; for (let i = 0; i < string.length; i++) { let charCode = string.charCodeAt(i); // if lowercase if (charCode >= 97 && charCode <= 122) { decipheredString += String.fromCharCode(((charCode - 97 - shift + 26) % 26) + 97); } // if uppercase else if (charCode >= 65 && charCode <= 90) { decipheredString += String.fromCharCode(((charCode - 65 - shift + 26) % 26) + 65); } // if not a letter else { decipheredString += string[i]; } } return decipheredString; } function removeAfterPipe(inputString) { const indexOfPipe = inputString.indexOf('|'); if (indexOfPipe !== -1) { return inputString.substring(0, indexOfPipe); } return inputString; } function getDecodedURL() { var currentURL = window.location.href; var encodedURL = currentURL.replace('https://desbloquea.me/s.php?i=', ''); var decodedURL = base64DecodeNTimes(encodedURL, 5); decodedURL = caesar_Rot13AZ_Decipher(decodedURL); decodedURL = removeAfterPipe(decodedURL) //clean URL return decodedURL } window.location.replace( getDecodedURL() );