您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
None
// ==UserScript== // @name Bilibili Live Antimask // @namespace http://tampermonkey.net/ // @version 1.2 // @description None // @author Lawsonwang // @match *://live.bilibili.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com // @grant none // ==/UserScript== (function () { 'use strict'; let url = window.location.href; let reg = new RegExp(/live.bilibili.com\/\d+/); if (!reg.test(url)) return; let fp = document.querySelector(".live-player-mounter"); const observer = new MutationObserver((mutations) => { mutations.forEach((mutation) => { if (mutation.type === 'childList') { // mutation.addedNodes.forEach((addedNode) => {}); let ch_list = document.querySelectorAll(".web-player-module-area-mask"), count = 0; ch_list.forEach((ch) => { if (ch === null || ch.style.height == "0px") return; ch.style.height = ch.style.width = "0px"; console.log("[Bilibili Live Antimask] Killed 1."); count += 1; }); if (count > 0) console.log("[Bilibili Live Antimask] Done."); } }); }); const config = { childList: true }; observer.observe(fp, config); /* fp.addEventListener("DOMNodeInserted", (event) => { let ch_list = document.querySelectorAll(".web-player-module-area-mask"), count = 0; ch_list.forEach((ch) => { if (ch === null || ch.style.height == "0px") return; ch.style.height = ch.style.width = "0px"; console.log("[Bilibili Live Antimask] Killed 1."); count += 1; }); if (count > 0) console.log("[Bilibili Live Antimask] Done."); }) */ })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址