diff --git a/bilibili-evolved.offline.user.js b/bilibili-evolved.offline.user.js
index 2b1e70237..f25c60a01 100644
--- a/bilibili-evolved.offline.user.js
+++ b/bilibili-evolved.offline.user.js
@@ -902,7 +902,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/remove-watermark.min.js"] = (()=>{return(i,l)=>{const n="bilibili-live-watermark";if($(`#${n}`).length===0){l.applyStyleFromText(`\n \n `)}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/full-tweets-title.min.js"] = (()=>{return(e,l)=>{l.applyStyle("fullTweetsTitleStyle")}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/view-cover.min.js"] = (()=>{return(e,t)=>{class i{constructor(e){this.url=e;if($(".image-viewer").length===0){this.createDom()}this.viewer=$(".image-viewer-container");this.downloadImage()}createDom(){$("body").append(t.data.imageViewerDom.text);$(".image-viewer-container .close").on("click",()=>this.hide());t.applyStyle("imageViewerStyle")}downloadImage(){const e=new XMLHttpRequest;e.open("GET",this.url.replace("http:","https:"),true);e.responseType="blob";e.onload=(()=>{const t=document.title.replace("_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili","");const i=URL.createObjectURL(e.response);this.imageData=i;this.viewer.find(".download").attr("href",i).attr("download",t);this.viewer.find(".image").prop("src",i)});e.send()}show(){this.viewer.addClass("opened")}hide(){this.viewer.removeClass("opened")}}if($("meta[itemprop='image'],meta[property='og:image']").length>0){return{widget:{content:`\n `,success:async()=>{const e=await SpinQuery.condition(()=>$("meta[itemprop='image'],meta[property='og:image']"),e=>e.length>0&&e.prop("content")).catch(()=>$("#view-cover").remove());if(!e){return}const t=new i(e.prop("content"));$("#view-cover").on("click",()=>{t.show()}).removeClass("hidden")}}}}else{return{widget:{content:`\n `,success:async()=>{const e=await SpinQuery.any(()=>$(".header-info-ctnr .room-cover")).catch(()=>$("#view-cover").remove());if(!e){return}const t=e.attr("href").match(/space\.bilibili\.com\/([\d]+)/);if(t&&t[1]){const e=t[1];const n=`https://api.live.bilibili.com/bili/getRoomInfo/${e}`;const o=await downloadText(n);const s=o.slice(1,-2);const a=JSON.parse(s).data.cover;const c=new i(a);$("#view-cover").on("click",()=>{c.show()}).removeClass("hidden")}}}}}}})();
-offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/notify-new-version.min.js"] = (()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}}}}}})();
+offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/notify-new-version.min.js"] = (()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}}}}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/toast.min.js"] = (()=>{return(t,s)=>{class e{constructor(t="",s="",e="default"){this.type=e;this.message=t;this.title=s;this.duration=3e3;this.element=$(this.cardHtml)[0];this.$element=$(this.element);$(".toast-card-container").append(this.$element)}show(){this.element.classList.add("visible");this.$element.find(".toast-card-dismiss").on("click",()=>this.dismiss());if(this.duration){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(this.element.classList.contains("visible")){this.$element.on("transitionend",()=>this.$element.remove());this.element.classList.remove("visible")}}get cardHtml(){return`\n \n `}static get container(){return $(".toast-card-container")}static createToastContainer(){if($(".toast-card-container").length===0){$("body").append(``)}}static internalShow(t,s,i,a){const n=new e(t,s,a);n.duration=i;n.show()}static show(t,s,e){this.internalShow(t,s,e,"default")}static info(t,s,e){this.internalShow(t,s,e,"info")}static success(t,s,e){this.internalShow(t,s,e,"success")}static error(t,s,e){this.internalShow(t,s,e,"error")}}s.applyStyle("toastStyle");e.createToastContainer();return{export:e}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/remove-top-mask.min.js"] = (()=>{return(i,n)=>{const l="bilibili-video-top-mask";if($(`#${l}`).length===0){n.applyStyleFromText(`\n \n `)}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/blur-video-control.min.js"] = (()=>{return(r,o)=>{Observer.subtree("#bofqi",()=>{SpinQuery.count(()=>$(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-video-control-bottom"),2,r=>{if(!r.hasClass("video-control-blur-container")){r.addClass("video-control-blur-container");r.prepend(``)}})});o.applyStyle("blurVideoControlStyle")}})();
diff --git a/bilibili-evolved.preview-offline.user.js b/bilibili-evolved.preview-offline.user.js
index 28d32af31..5eaa87956 100644
--- a/bilibili-evolved.preview-offline.user.js
+++ b/bilibili-evolved.preview-offline.user.js
@@ -902,7 +902,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/remove-watermark.min.js"] = (()=>{return(i,l)=>{const n="bilibili-live-watermark";if($(`#${n}`).length===0){l.applyStyleFromText(`\n \n `)}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/full-tweets-title.min.js"] = (()=>{return(e,l)=>{l.applyStyle("fullTweetsTitleStyle")}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/view-cover.min.js"] = (()=>{return(e,t)=>{class i{constructor(e){this.url=e;if($(".image-viewer").length===0){this.createDom()}this.viewer=$(".image-viewer-container");this.downloadImage()}createDom(){$("body").append(t.data.imageViewerDom.text);$(".image-viewer-container .close").on("click",()=>this.hide());t.applyStyle("imageViewerStyle")}downloadImage(){const e=new XMLHttpRequest;e.open("GET",this.url.replace("http:","https:"),true);e.responseType="blob";e.onload=(()=>{const t=document.title.replace("_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili","");const i=URL.createObjectURL(e.response);this.imageData=i;this.viewer.find(".download").attr("href",i).attr("download",t);this.viewer.find(".image").prop("src",i)});e.send()}show(){this.viewer.addClass("opened")}hide(){this.viewer.removeClass("opened")}}if($("meta[itemprop='image'],meta[property='og:image']").length>0){return{widget:{content:`\n `,success:async()=>{const e=await SpinQuery.condition(()=>$("meta[itemprop='image'],meta[property='og:image']"),e=>e.length>0&&e.prop("content")).catch(()=>$("#view-cover").remove());if(!e){return}const t=new i(e.prop("content"));$("#view-cover").on("click",()=>{t.show()}).removeClass("hidden")}}}}else{return{widget:{content:`\n `,success:async()=>{const e=await SpinQuery.any(()=>$(".header-info-ctnr .room-cover")).catch(()=>$("#view-cover").remove());if(!e){return}const t=e.attr("href").match(/space\.bilibili\.com\/([\d]+)/);if(t&&t[1]){const e=t[1];const n=`https://api.live.bilibili.com/bili/getRoomInfo/${e}`;const o=await downloadText(n);const s=o.slice(1,-2);const a=JSON.parse(s).data.cover;const c=new i(a);$("#view-cover").on("click",()=>{c.show()}).removeClass("hidden")}}}}}}})();
-offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/notify-new-version.min.js"] = (()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}}}}}})();
+offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/notify-new-version.min.js"] = (()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}}}}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/toast.min.js"] = (()=>{return(t,s)=>{class e{constructor(t="",s="",e="default"){this.type=e;this.message=t;this.title=s;this.duration=3e3;this.element=$(this.cardHtml)[0];this.$element=$(this.element);$(".toast-card-container").append(this.$element)}show(){this.element.classList.add("visible");this.$element.find(".toast-card-dismiss").on("click",()=>this.dismiss());if(this.duration){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(this.element.classList.contains("visible")){this.$element.on("transitionend",()=>this.$element.remove());this.element.classList.remove("visible")}}get cardHtml(){return`\n \n `}static get container(){return $(".toast-card-container")}static createToastContainer(){if($(".toast-card-container").length===0){$("body").append(``)}}static internalShow(t,s,i,a){const n=new e(t,s,a);n.duration=i;n.show()}static show(t,s,e){this.internalShow(t,s,e,"default")}static info(t,s,e){this.internalShow(t,s,e,"info")}static success(t,s,e){this.internalShow(t,s,e,"success")}static error(t,s,e){this.internalShow(t,s,e,"error")}}s.applyStyle("toastStyle");e.createToastContainer();return{export:e}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/remove-top-mask.min.js"] = (()=>{return(i,n)=>{const l="bilibili-video-top-mask";if($(`#${l}`).length===0){n.applyStyleFromText(`\n \n `)}}})();
offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/blur-video-control.min.js"] = (()=>{return(r,o)=>{Observer.subtree("#bofqi",()=>{SpinQuery.count(()=>$(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-video-control-bottom"),2,r=>{if(!r.hasClass("video-control-blur-container")){r.addClass("video-control-blur-container");r.prepend(``)}})});o.applyStyle("blurVideoControlStyle")}})();
diff --git a/min/notify-new-version.min.js b/min/notify-new-version.min.js
index 31959afed..95d061a34 100644
--- a/min/notify-new-version.min.js
+++ b/min/notify-new-version.min.js
@@ -1 +1 @@
-(()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 更新详细信息`;Toast.info(n,"检查更新")}}}}}})();
\ No newline at end of file
+(()=>{return(t,n)=>{const s={less:-1,equal:0,greater:1,incomparable:NaN};class e{constructor(t){this.parts=t.split(".").map(t=>parseInt(t));this.versionString=t}compareTo(t){for(let n=0;nt.parts[n]){return s.greater}return s.less}if(this.parts.length!==t.parts.length){return s.less}return s.equal}greaterThan(t){return this.compareTo(t)===s.greater}lessThan(t){return this.compareTo(t)===s.less}equals(t){return this.compareTo(t)===s.equal}}const a=new e(n.data.latestVersion.text);const i=new e(t.currentVersion);if(a.greaterThan(i)){return{settingsWidget:{after:()=>$(".gui-settings-content"),content:``,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}},widget:{content:`\n \n \n `,success:()=>{const n=`新版本${a.versionString}已发布. 安装查看`;Toast.info(n,"检查更新")}}}}}})();
\ No newline at end of file
diff --git a/utils/notify-new-version.js b/utils/notify-new-version.js
index 4c26f137b..77b82847f 100644
--- a/utils/notify-new-version.js
+++ b/utils/notify-new-version.js
@@ -67,19 +67,19 @@
`,
success: () =>
{
- const message = `新版本${latestVersion.versionString}已发布. 更新详细信息`;
+ const message = `新版本${latestVersion.versionString}已发布. 安装查看`;
Toast.info(message, "检查更新");
}
},
@@ -105,7 +105,7 @@
`,
success: () =>
{
- const message = `新版本${latestVersion.versionString}已发布. 更新详细信息`;
+ const message = `新版本${latestVersion.versionString}已发布. 安装查看`;
Toast.info(message, "检查更新");
},
},