mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1 line
376 B
JavaScript
1 line
376 B
JavaScript
(()=>{return(t,e)=>{if(isIframe()){return}const n=["/www.bilibili.com"];if(!n.some(t=>document.URL.includes(t))){return}(async()=>{const n=await e.importAsync("customNavbarHtml");document.body.insertAdjacentHTML("beforeend",n);const c=document.querySelector(".custom-navbar");for(const[e,n]of Object.entries(t.customNavbarSettings)){if(n===true){c.classList.add(e)}}})()}})(); |