xmoj-script 1.2.56 → 1.2.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Update/AutoLabel.js +3 -2
- package/Update.json +11 -0
- package/XMOJ.user.js +2 -1
- package/package.json +1 -1
- package/sitemap.xml +10 -2
package/Update/AutoLabel.js
CHANGED
|
@@ -3,7 +3,8 @@ import * as github from '@actions/github';
|
|
|
3
3
|
const Octokit = github.getOctokit(process.argv[2]);
|
|
4
4
|
const TrustedUsers = [
|
|
5
5
|
"boomzero",
|
|
6
|
-
"PythonSmall-Q"
|
|
6
|
+
"PythonSmall-Q",
|
|
7
|
+
"ptsq-bot"
|
|
7
8
|
];
|
|
8
9
|
const LabelList = [
|
|
9
10
|
"addon-script",
|
|
@@ -142,7 +143,7 @@ let NewData = Data.replaceAll(/(\/-?good first issue)|\/[A-Za-z_-]+/g, (match) =
|
|
|
142
143
|
return match;
|
|
143
144
|
});
|
|
144
145
|
|
|
145
|
-
if (User === "PythonSmall-Q") {
|
|
146
|
+
if (User === "boomzero" || User === "ptsq-bot" || User === "PythonSmall-Q") {
|
|
146
147
|
if (RemoveLabel("needs-triage")) {
|
|
147
148
|
AddLabel("investigating");
|
|
148
149
|
Milestone = LatestMilestone;
|
package/Update.json
CHANGED
|
@@ -2442,6 +2442,17 @@
|
|
|
2442
2442
|
}
|
|
2443
2443
|
],
|
|
2444
2444
|
"Notes": "No release notes were provided for this release."
|
|
2445
|
+
},
|
|
2446
|
+
"1.2.57": {
|
|
2447
|
+
"UpdateDate": 1723968698208,
|
|
2448
|
+
"Prerelease": true,
|
|
2449
|
+
"UpdateContents": [
|
|
2450
|
+
{
|
|
2451
|
+
"PR": 712,
|
|
2452
|
+
"Description": "更改个人中心一栏鼠标指针样式"
|
|
2453
|
+
}
|
|
2454
|
+
],
|
|
2455
|
+
"Notes": "No release notes were provided for this release."
|
|
2445
2456
|
}
|
|
2446
2457
|
}
|
|
2447
2458
|
}
|
package/XMOJ.user.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ==UserScript==
|
|
2
2
|
// @name XMOJ
|
|
3
|
-
// @version 1.2.
|
|
3
|
+
// @version 1.2.57
|
|
4
4
|
// @description XMOJ增强脚本
|
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
|
6
6
|
// @namespace https://github/langningchen
|
|
@@ -888,6 +888,7 @@ async function main() {
|
|
|
888
888
|
}
|
|
889
889
|
else if (document.querySelector("#navbar > ul.nav.navbar-nav.navbar-right > li > ul > li:nth-child(3) > a > span") != undefined && document.querySelector("#navbar > ul.nav.navbar-nav.navbar-right > li > ul > li:nth-child(3) > a > span").innerText != "个人中心") {
|
|
890
890
|
let PopupUL = document.querySelector("#navbar > ul.nav.navbar-nav.navbar-right > li > ul");
|
|
891
|
+
PopupUL.style.cursor = 'pointer';
|
|
891
892
|
PopupUL.innerHTML = `<li class="dropdown-item">修改帐号</li>
|
|
892
893
|
<li class="dropdown-item">个人中心</li>
|
|
893
894
|
<li class="dropdown-item">短消息</li>
|
package/package.json
CHANGED
package/sitemap.xml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
3
|
<url>
|
|
4
|
-
<loc>https://xmoj-bbs.
|
|
5
|
-
<lastmod>2024-
|
|
4
|
+
<loc>https://xmoj-bbs.me/</loc>
|
|
5
|
+
<lastmod>2024-08-15T23:16:10+08:00</lastmod>
|
|
6
|
+
</url>
|
|
7
|
+
<url>
|
|
8
|
+
<loc>https://support.xmoj-bbs.me/</loc>
|
|
9
|
+
<lastmod>2024-08-16T23:16:10+08:00</lastmod>
|
|
10
|
+
</url>
|
|
11
|
+
<url>
|
|
12
|
+
<loc>https://docs.xmoj-bbs.me/</loc>
|
|
13
|
+
<lastmod>2024-08-16T23:16:10+08:00</lastmod>
|
|
6
14
|
</url>
|
|
7
15
|
</urlset>
|