Bilibili-Evolved/min/show-dead-video-title.min.js
2019-01-23 11:19:10 +08:00

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)})}})();