🏠 返回首頁 

Greasy Fork is available in English.

download.mokeedev.com

download.mokeedev.com без ожидания

  1. // ==UserScript==
  2. // @name download.mokeedev.com
  3. // @name:ru download.mokeedev.com
  4. // @namespace FIX
  5. // @version 0.2
  6. // @description download.mokeedev.com without waiting
  7. // @description:ru download.mokeedev.com без ожидания
  8. // @author raletag
  9. // @match *://download.mokeedev.com/*
  10. // @grant none
  11. // @run-at document-end
  12. // ==/UserScript==
  13. (function() {
  14. 'use strict';
  15. console.log('download.mokeedev.com without waiting');
  16. if (location.pathname == '/link.php' && document.body.innerText && document.body.innerText.match(/^http(|s):\/\//i)) location.href = document.body.innerText;
  17. else for (var links = document.querySelectorAll('a[href*="downloadPost"]'), i = links.length - 1; i >= 0; --i) {
  18. links[i].href = links[i].href.replace('download.php', 'link.php').replace('get','key');
  19. }
  20. })();