Bilibili-Evolved/min/selectable-column-text.min.js
2019-09-29 23:02:29 +08:00

1 line
366 B
JavaScript

(()=>{return(e,t)=>{const n=`.article-holder { user-select: text !important }`;const r="selectable-column-text-style";const l=()=>{t.applyStyleFromText(n,r);SpinQuery.unsafeJquery().then(async()=>{await SpinQuery.select(".article-holder");unsafeWindow.$(".article-holder").unbind("copy")})};l();return{reload:l,unload:()=>{document.getElementById(r).remove()}}}})();