Bypass FileCrypt

Bypass FileCrypt and get the original link!

目前为 2020-11-27 提交的版本。查看 最新版本

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