Skip to content

Instantly share code, notes, and snippets.

@ral-hole
Last active August 21, 2023 05:12
Show Gist options
  • Save ral-hole/d4a33d94d1284bdf529ddb2c3302ac82 to your computer and use it in GitHub Desktop.
Save ral-hole/d4a33d94d1284bdf529ddb2c3302ac82 to your computer and use it in GitHub Desktop.
Bypass NetEase promotion popup when you visit Minecraft.net in China.
// ==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