xmoj-script 1.2.39 → 1.2.40
Sign up to get free protection for your applications and to get access to all the features.
- package/Update.json +11 -0
- package/XMOJ.user.js +7 -8
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2179,6 +2179,17 @@
|
|
2179
2179
|
}
|
2180
2180
|
],
|
2181
2181
|
"Notes": "No release notes were provided for this release."
|
2182
|
+
},
|
2183
|
+
"1.2.40": {
|
2184
|
+
"UpdateDate": 1723095733498,
|
2185
|
+
"Prerelease": true,
|
2186
|
+
"UpdateContents": [
|
2187
|
+
{
|
2188
|
+
"PR": 659,
|
2189
|
+
"Description": "new toolbar item"
|
2190
|
+
}
|
2191
|
+
],
|
2192
|
+
"Notes": "No release notes were provided for this release."
|
2182
2193
|
}
|
2183
2194
|
}
|
2184
2195
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.40
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -884,6 +884,7 @@ async function main() {
|
|
884
884
|
<li class="dropdown-item">个人中心</li>
|
885
885
|
<li class="dropdown-item">短消息</li>
|
886
886
|
<li class="dropdown-item">插件设置</li>
|
887
|
+
<li class="dropdown-item">插件更新日志</li>
|
887
888
|
<li class="dropdown-item">注销</li>`;
|
888
889
|
PopupUL.children[0].addEventListener("click", () => {
|
889
890
|
location.href = "https://www.xmoj.tech/modifypage.php";
|
@@ -898,6 +899,9 @@ async function main() {
|
|
898
899
|
location.href = "https://www.xmoj.tech/index.php?ByUserScript=1";
|
899
900
|
});
|
900
901
|
PopupUL.children[4].addEventListener("click", () => {
|
902
|
+
location.href = "https://www.xmoj.tech/modifypage.php?ByUserScript=1";
|
903
|
+
});
|
904
|
+
PopupUL.children[5].addEventListener("click", () => {
|
901
905
|
localStorage.removeItem("UserScript-Username");
|
902
906
|
localStorage.removeItem("UserScript-Password");
|
903
907
|
location.href = "https://www.xmoj.tech/logout.php";
|
@@ -1308,13 +1312,8 @@ async function main() {
|
|
1308
1312
|
"ID": "ACMRank", "Type": "A", "Name": "比赛ACM排名,并且能下载ACM排名"
|
1309
1313
|
}, {"ID": "Discussion", "Type": "F", "Name": "恢复讨论与短消息功能"}, {
|
1310
1314
|
"ID": "MoreSTD", "Type": "F", "Name": "查看到更多标程"
|
1311
|
-
}, {
|
1312
|
-
"ID": "
|
1313
|
-
"Type": "A",
|
1314
|
-
"Name": "学术模式",
|
1315
|
-
"Children": [{"ID": "ApplyData", "Type": "A", "Name": "获取数据功能"}, {
|
1316
|
-
"ID": "AutoCheat", "Type": "A", "Name": "自动提交当年代码"
|
1317
|
-
}]
|
1315
|
+
}, {"ID": "ApplyData", "Type": "A", "Name": "获取数据功能"}, {
|
1316
|
+
"ID": "AutoCheat", "Type": "A", "Name": "自动提交当年代码"
|
1318
1317
|
}, {"ID": "Rating", "Type": "A", "Name": "添加用户评分和用户名颜色"}, {
|
1319
1318
|
"ID": "AutoRefresh", "Type": "A", "Name": "比赛列表、比赛排名界面自动刷新"
|
1320
1319
|
}, {
|