您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
屏蔽烦人的Bugly完善账号信息弹窗
// ==UserScript== // @name 屏蔽Bugly的完善账号信息弹窗 // @namespace https://github.com/sdokio // @version 1.0.1 // @author Tom Lee @[email protected] // @description 屏蔽烦人的Bugly完善账号信息弹窗 // @license MIT // @match https://bugly.qq.com/* // @run-at document-start // @grant none // ==/UserScript== (function() { 'use strict'; const popupClassName = 'ant-modal-root'; const observer = new MutationObserver((mutations) => { mutations.forEach((mutation) => { mutation.addedNodes.forEach((node) => { if (node.nodeType === 1) { if (node.classList.contains(popupClassName)) { node.style.display = 'none'; if (node.parentNode) { node.parentNode.remove(); console.log('烦人的Bugly弹窗已经移除!!!'); } } } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })();