File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ <h2 id="mainslogan">考试时钟</h2>
173173 </ div >
174174
175175 < a class ="fa-solid fa-expand " id ="fullscreen " data-sub ="全屏 " onclick ="fullscreen() "> </ a >
176+ </ div >
176177 </ nav >
177178
178179 < div class ="dim " id ="subslogan "> </ div >
@@ -222,13 +223,13 @@ <h2 id="mainslogan">考试时钟</h2>
222223 < span id ="bg "> 背景:雨后校园</ span >
223224 </ p >
224225 < p class ="hilit "> < i class ="fa-solid fa-hashtag "> </ i >
225- 欢迎小伙伴加入野生技协群:89 4656 456,各考试/日常作息需要热心人士提供信息。</ span >
226+ 欢迎小伙伴加入野生技协群:89 4656 456,各考试/日常作息需要热心人士提供信息。
226227 </ p >
227228 < p > < a href ="https://github.com/L33Z22L11/ExamClock "> < i class ="fa-brands fa-github "> </ i >
228229 更新于 < span id ="lastCommit "> (获取中)</ span > </ a >
229230 </ p >
230231 < p > < i class ="fa-solid fa-file-arrow-up "> </ i >
231- V 7.3.0 优化背景模块,删除冗余代码
232+ V 7.3.1 优化背景模块,移除冗余代码(+IE Support)
232233 </ p >
233234 </ div >
234235 </ footer >
Original file line number Diff line number Diff line change 1+ // 此处代码需要兼容IE浏览器,以保证报错正常显示
12try {
23 var SP = Object . fromEntries ( new URLSearchParams ( location . search ) . entries ( ) ) ;
34}
@@ -14,7 +15,7 @@ catch (e) { var SP = {}; }
1415 ifwarn ( navigator . userAgent . match ( "Trident" ) , "IE浏览器过于老旧,不保证功能的可用性。我们推荐使用Chrome/Edge/Firefox浏览器。" ) ;
1516 // ifwarn(location.host != "exam.thisis.host", "您可能在使用第三方或离线的考试时钟,无法保证内容时效性。<u><a href='https://exam.thisis.host'>点击访问考试时钟在线官网 exam.thisis.host</a></u>");
1617 ifwarn ( SP . fromold , "检测到跳转自旧网址,请勿依赖此方式访问考试时钟。建议收藏本页或在考试时钟菜单内下载快捷方式。" ) ;
17- ifwarn ( SP . debug , ` 您目前处于${ SP . debug } 倍时间流速的科目检查(调试)模式。<u><a href='?'>点击返回正常模式</a></u>` ) ;
18+ ifwarn ( SP . debug , " 您目前处于" + SP . debug + " 倍时间流速的科目检查(调试)模式。<u><a href='?'>点击返回正常模式</a></u>" ) ;
1819 }
1920 catch ( e ) {
2021 alert ( "检测到非法篡改,请将此代码发送给QQ 2399052066:\n" + e ) ;
@@ -29,7 +30,7 @@ if (SP.debug) {
2930 document . getElementById ( "bar" ) . style . transition = "none" ;
3031 ! function update ( ) {
3132 // 移除动画
32- try { document . getElementById ( "coverLaunch" ) . remove ( ) ; } catch { }
33+ try { document . getElementById ( "coverLaunch" ) . remove ( ) ; } catch ( err ) { }
3334 // 跳转到科目开始前一小时
3435 if ( now < subject . start - 36E5 ) now = new Date ( subject . start - 36E5 ) ;
3536 // 用加号会直接连接字符串,所以这里得减去负数,太魔幻了
You can’t perform that action at this time.
0 commit comments