mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1 line
601 B
JavaScript
1 line
601 B
JavaScript
(()=>{return(t,e)=>{function i(){const e=$(".fav-video-list>li.disabled").removeClass("disabled");e.each((e,i)=>{const a=$(i);const r=a.attr("data-aid");const n=a.find("img").attr("alt");const l=(()=>{if(t.useBiliplusRedirect){return`https://www.biliplus.com/video/av${r}`}else{return`//www.bilibili.com/video/av${r}`}})();a.find(".i-watchlater").css("display","none");a.find("a.cover").attr("target","_blank").attr("href",l);a.find("a.title").attr("title",n).attr("target","_blank").attr("href",l).text(n)})}SpinQuery.any(()=>$(".fav-content"),()=>{Observer.childListSubtree(".fav-content",i)})}})(); |