Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name 9minecraft.net auto download
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Go to the download page instead of clicking the link which triggers a script taking you to an ad site.
- // @author XenoTheStrange
- // @match https://files.9minecraft.net/index.php?act=dl&id=*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=9minecraft.net
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- document.location.href = document.querySelector("a").href
- // Your code here...
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement