// ==UserScript== // @name 哔哩哔哩-隐藏高能弹幕的前缀图标 // @namespace ckylin-style-hidehighiconfromdanmaku // @version 1.0.0 // @description 删除高能弹幕前的小图标 // @author CKylinMC // @license GPLv3 // @grant GM_addStyle // @run-at document-start // @match *://*/* // @downloadURL none // ==/UserScript== (function() { let css = ""; css += ` /*`; if ((location.hostname === "bilibili.com" || location.hostname.endsWith(".bilibili.com"))) { css += `*/ .bilibili-player-video-danmaku .b-danmaku-high-icon{ display:none !important; } /*`; } if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();