(not working) tododvdfull.com initial short-link ad paywall bypasser

Bypass some shorteners

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         (not working) tododvdfull.com initial short-link ad paywall bypasser
// @version      1.1
// @description  Bypass some shorteners
// @author       Rust1667
// @match        https://desbloquea.me/s.php?i=*
// @run-at       document-start
// @namespace https://greasyfork.org/users/980489
// ==/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 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 = decodedURL.replace('|tdvf', '');

  return decodedURL
}

window.location.replace( getDecodedURL() );