Bilibili-Evolved/min/haruna-scale.min.js
2019-09-20 17:40:45 +08:00

1 line
307 B
JavaScript

(()=>{return(n,e)=>{const t="haruna-scale";const a=()=>{if(document.getElementById(t)===null){e.applyStyleFromText(`\n.haruna-ctnr,\n.avatar-btn\n{\ntransform: scale(${1/window.devicePixelRatio}) !important;\n}\n`,t)}};a();return{reload:a,unload:()=>{const n=document.getElementById(t);n&&n.remove()}}}})();