Bypass FileCrypt

Bypass FileCrypt and get the original link!

Versione datata 05/06/2020. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Bypass FileCrypt
// @namespace    StephenP
// @version      1.1.2
// @description  Bypass FileCrypt and get the original link!
// @author       StephenP
// @match        http://filecrypt.cc/Link/*
// @match        http://www.filecrypt.cc/Link/*
// @grant        GM.xmlHttpRequest
// ==/UserScript==
(function () {
    GM.xmlHttpRequest({
    method: "GET",
    url: document.location.href,
    onload: function(response) {
      window.stop();
		  var a=response.responseText.lastIndexOf("https://filecrypt.cc/index.php?Action");
      if(a==-1){
      	a=response.responseText.lastIndexOf("https://www.filecrypt.cc/index.php?Action");
      }
      //var iframeId=response.responseText.substring(a);
      var b=response.responseText.indexOf('</iframe>',a);
      if(b==-1){
        var b=response.responseText.indexOf('</script>',a);
      }
      var iframeId=response.responseText.substring(a,b-2);
      console.log(iframeId);
      top.location.href=iframeId;
    }
    });
})();