Bypass FileCrypt

Bypass FileCrypt and get the original link!

当前为 2020-06-02 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Bypass FileCrypt
  3. // @namespace StephenP
  4. // @version 1.1.1
  5. // @description Bypass FileCrypt and get the original link!
  6. // @author StephenP
  7. // @match http://filecrypt.cc/Link/*
  8. // @match http://www.filecrypt.cc/Link/*
  9. // @grant GM.xmlHttpRequest
  10. // ==/UserScript==
  11. (function () {
  12. GM.xmlHttpRequest({
  13. method: "GET",
  14. url: document.location.href,
  15. onload: function(response) {
  16. window.stop();
  17. var a=response.responseText.indexOf("https://filecrypt.cc/index.php?Action");
  18. //var iframeId=response.responseText.substring(a);
  19. var b=response.responseText.indexOf('</iframe>',a);
  20. if(b==-1){
  21. var b=response.responseText.indexOf('</script>',a);
  22. }
  23. var iframeId=response.responseText.substring(a,b-2);
  24. top.location.href=iframeId;
  25. }
  26. });
  27. })();