您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove specified element
// ==UserScript== // @name 去掉微信公众号网页右侧的二维码悬浮框 // @namespace http://tampermonkey.net/ // @match https://*/* // @grant none // @version 1.2 // @author Alex // @icon https://www.google.com/s2/favicons?domain=tampermonkey.net // @description Remove specified element // @license Apache 2.0 // ==/UserScript== (function() { 'use strict'; function removeElement() { let qrCodeDiv = document.querySelector('.qr_code_pc'); if (qrCodeDiv) { qrCodeDiv.remove(); } } new MutationObserver(removeElement).observe(document, { childList: true, subtree: true }); removeElement(); })();