您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
关闭Bilibili搜索页热搜
// ==UserScript== // @name No Trending on BiliSearch | 关闭Bilibili搜索推荐 // @namespace none // @version 0.5 // @description 关闭Bilibili搜索页热搜 // @author CDN // @match https://search.bilibili.com // @match https://search.bilibili.com/* // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js // @icon https://static.hdslb.com/images/favicon.ico // @grant none // @license MIT // ==/UserScript== 'use strict'; var fn = function(){ var trending_homepage = document.getElementsByClassName("suggest-wrap"); //var trending_homepage = document.getElementsByClassName("trending"); Array.prototype.forEach.call(trending_homepage, function (element) { element.outerHTML = ''; }); setTimeout(fn, 100) } fn();