Bypass FileCrypt

Bypass FileCrypt and get the original link!

当前为 2020-05-13 提交的版本,查看 最新版本

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