mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1 line
1.1 KiB
JavaScript
1 line
1.1 KiB
JavaScript
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["live/remove-mask-panel"]=o():e["live/remove-mask-panel"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>r});const t=coreApis.componentApis.define,n=coreApis.utils.urls,a=async()=>{const e=new MutationObserver((o=>{o.forEach((o=>{o.addedNodes.forEach((o=>{"web-player-module-area-mask-panel"===o.id&&(o.parentNode?.removeChild(o),e.disconnect())}))}))}));e.observe(document.body,{childList:!0,subtree:!0})},r=(0,t.defineComponentMetadata)({name:"removeLiveMaskPanel",displayName:"删除直播马赛克遮罩",author:{name:"Liki4",link:"https://github.com/Liki4"},tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时某些分区的马赛克遮罩."},entry:a,reload:a,urlInclude:n.liveUrls,commitHash:"8f27049d249a634bdb0fa854e84fecf2e3c26aa3",coreVersion:"2.10.0"});return o=o.component})())); |