关闭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();