您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
去除网页中的“导流公众号”
// ==UserScript== // @name 移除导流公众号 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 去除网页中的“导流公众号” // @author mio // @icon https://openwrite.cn/favicon.ico // @homepage https://github.com/findmio/UserScript // @homepageURL https://github.com/findmio/UserScript // @include http*://* // @grant none // @license MIT // ==/UserScript== (function () { "use strict"; let remove = false; let btwTimer = null; destroyBTWPlugin(); function destroyBTWPlugin() { // 判断是否有插件 const hasBTWPlugin = typeof BTWPlugin == "function"; if (!hasBTWPlugin) { return; } if (!btwTimer) { btwTimer = setInterval(() => { destroyBTWPlugin(); }, 1000); } if (remove) { clearInterval(btwTimer); } const blogId = window.btw?.options?.blogId; if (blogId) { const tokenKey = `TOKEN_${blogId}`; const token = localStorage.getItem(tokenKey); if (!token) { localStorage.setItem(tokenKey, blogId); window.location.reload(); } remove = true; } } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址