-
-
Save ral-hole/d4a33d94d1284bdf529ddb2c3302ac82 to your computer and use it in GitHub Desktop.
Bypass NetEase promotion popup when you visit Minecraft.net in China.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name No NetEase Popup | |
// @namespace https://gist.github.com/ral-hole/d4a33d94d1284bdf529ddb2c3302ac82.js | |
// @version 0.1 | |
// @description Bypass NetEase promotion popup when you visit Minecraft.net in China. | |
// @author You | |
// @match *://*.minecraft.net/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var popup = document.getElementById('popup-btn'); | |
popup.click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment