This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
forked from langningchen/XMOJ-Script
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from PythonSmall-Q/dev
Merge Dev
- Loading branch information
Showing
8 changed files
with
361 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
if (localStorage.getItem("UserScript-ImportantNotice-20230830") == null) { | ||
let InputValue = prompt("警告!警告!警告!请仔细阅读以下内容!您需要重新安装用户脚本!安装指南在https://web.xmoj-bbs.tech/#Install。因为此次更新开发者误修改了更新内容,导致无法检查出新的更新。如果你已经明白了这些内容,或者你使用的已经是0.2.80及以上版本,那么请在下方输入“我已知晓”并点击确定。"); | ||
if (localStorage.getItem("UserScript-ImportantNotice-20231002") == null) { | ||
let InputValue = prompt("警告!警告!警告!请仔细阅读以下内容!您需要重新安装用户脚本!安装指南在https://web.xmoj-bbs.tech/#Install。因为从0.3.x版本开始,脚本出现重大更新,非0.3.x已不再支持(甚至会出现错误)。如果你已经明白了这些内容,或者你使用的已经是0.3.143及以上版本,那么请在下方输入“我已知晓”并点击确定。"); | ||
if (InputValue != "我已知晓") { | ||
alert("您输入的内容不正确!请重新安装用户脚本!安装指南在https://web.xmoj-bbs.tech/#Install。"); | ||
window.location.href = "https://web.xmoj-bbs.tech/#Install"; | ||
} | ||
else { | ||
localStorage.setItem("UserScript-ImportantNotice-20230830", "true") | ||
localStorage.setItem("UserScript-ImportantNotice-20231002", "true") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Security Policy | ||
# 安全策略 | ||
|
||
## Supported Versions | ||
## 当前支持的版本 | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 0.3.x | :white_check_mark: | | ||
| 0.2.x | :x: | | ||
| 0.1.x | :x: | | ||
| 版本 | 是否支持 | 预计结束支持时间 | 停止支持原因 | | ||
| ------- | ------------------ | --------- | -------- | | ||
| 0.3.x | :white_check_mark: | 预计支持到0.4.x出现后1个月 | | | ||
| 0.2.x | :x: | 已停止支持 | 讨论功能重大更新 | | ||
| 0.1.x | :x: | 已停止支持 | 重大安全隐患 | | ||
|
||
注意:在开发过程中,服务器和用户脚本可能在任何时候发生重大变动,造成非最新版本结束支持。在这种情况下,我们会尽快更新用户脚本!感谢您的谅解。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.