您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
拒绝盲目刷视频,善用B站搜索
// ==UserScript== // @name 隐藏b站换一换按钮 // @namespace http://tampermonkey.net/ // @version 2024-05-26 // @description 拒绝盲目刷视频,善用B站搜索 // @author 潇义 // @match https://www.bilibili.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to display alert after page load function showAlert() { document.querySelectorAll('.feed-roll-btn .primary-btn.roll-btn').forEach(button => button.style.display = 'none'); } // Listen for the 'load' event to ensure the entire page, including stylesheets, images, and other resources are loaded window.addEventListener("load", showAlert); })();