Curseforge install bypass

Bypass the 5 second rule!

  1. // ==UserScript==
  2. // @name Curseforge install bypass
  3. // @namespace http://tampermonkey.net/
  4. // @version 69.420
  5. // @description Bypass the 5 second rule!
  6. // @author Binner#6124 on discord(or Binner#0001 if that doesn't work)
  7. // @match https://www.curseforge.com/*/*/*/download/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=curseforge.com
  9. // @grant GM_setValue
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const currentUrl = location.href;
  16.  
  17. if (!currentUrl.endsWith('/file')) {
  18. GM_setValue('newUrl', currentUrl + '/file');
  19. location.href = GM_getValue('newUrl');
  20. }
  21. })();