您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove Tieba's search button
// ==UserScript== // @name 移除贴吧搜索按钮 // @name:en Remove Tieba's Search Button // @name:zh-cn 移除贴吧搜索按钮 // @name:zh-tw 移除貼吧搜索按鈕 // @namespace http://tampermonkey.net/ // @version 2025-09-03 // @description Remove Tieba's search button // @author h453 // @match https://tieba.baidu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=baidu.com // @grant none // @license The Unlicense // ==/UserScript== (function() { 'use strict'; const shit = () => document.querySelector("#selectsearch-icon") const callback = () => { if (shit()) shit().remove() } const observer = new MutationObserver(callback); observer.observe(document.querySelector("body"), {childList: true}); })();