Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Curseforge redirect
- // @namespace https://www.curseforge.com/
- // @version 0.1
- // @author PercyDan
- // @match https://www.curseforge.com/*/modpacks/*
- // @grant GM_openInTab
- // @run-at document-end
- // ==/UserScript==
- (function() {
- 'use strict';
- let buttons = document.getElementsByClassName("button");
- for(var i =1; i < buttons.length; i++){
- buttons[i].href = buttons[i].href.replace("?client=y","");
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment