自动删除B站直播的马赛克脚本[scode type="green" size=""]需要自行安装浏览器油猴插件[/scode]// ==UserScript== // @name Bilibili Live No Mosaic // @description 删除直播间中的马赛克 // @version 2024-07-31 // @author TongHui // @match *://*.bilibili.com/* // @exclude *://api.bilibili.com/* // @exclude *://api.*.bilibili.com/* // @exclude *://*.bilibili.com/api/* // @exclude *://member.bilibili.com/studio/bs-editor/* // @exclude *://t.bilibili.com/h5/dynamic/specification // @exclude *://bbq.bilibili.com/* // @exclude *://message.bilibili.com/pages/nav/header_sync // @exclude *://s1.hdslb.com/bfs/seed/jinkela/short/cols/iframe.html // @exclude *://open-live.bilibili.com/* // @icon https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo-small.png // @icon64 https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo.png // @grant none // ==/UserScript== (function() { 'use strict'; var timer=setInterval(()=>{ var elementId = 'web-player-module-area-mask-panel'; var element = document.getElementById(elementId); if (element) { element.parentNode.removeChild(element); clearInterval(timer); console.log('成功删除水印'); } },1000) })();