mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1 line
345 B
JavaScript
1 line
345 B
JavaScript
(()=>{return(e,o)=>{const l=document.URL.includes("bangumi")?"#bofqi":".video-info .video-title .tit";SpinQuery.select(l).then(async o=>{await playerReady();console.log(o);if(o===null){return}o.scrollIntoView();if(e.playerFocusOffset!==0){window.scrollBy(0,e.playerFocusOffset)}console.log(o.offsetTop,e.playerFocusOffset,window.scrollY)})}})(); |