Bilibili-Evolved/style/dark-styles.min.js
2018-08-25 12:06:48 +08:00

1 line
256 B
JavaScript

(()=>{return(e,l)=>{if(e.useNewStyle){for(const e of Array.from({length:2},(e,l)=>l+1)){l.applyStyle(`darkStyleSlice${e}`,`bilibili-new-style-dark-slice-${e}`)}}$("body").after(l.getStyle("bilibili-new-style-dark-important"));return{ajaxReload:false}}})();