您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
屏蔽B站首页的浏览器插件提示条
// ==UserScript== // @name B站首页插件提示屏蔽 // @name:en Bilibili Extension Alert Block // @namespace http://tampermonkey.net/ // @version 0.15 // @description 屏蔽B站首页的浏览器插件提示条 // @description:en Hide the extension alert on the main page of bilibili.com // @author Hikara // @license MIT // @match https://www.bilibili.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // ==/UserScript== (function() { 'use strict'; // Function to hide elements function hideElements() { // remove the extension tip const elements = document.querySelectorAll('.adblock-tips').forEach(el => el.remove()); } // Run the function after the page loads window.addEventListener('load', hideElements); })();