xmoj-script 1.1.62 → 1.1.64
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.json +22 -0
- package/XMOJ.user.js +3 -4
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -1513,6 +1513,28 @@
|
|
1513
1513
|
}
|
1514
1514
|
],
|
1515
1515
|
"Notes": "No release notes were provided for this release."
|
1516
|
+
},
|
1517
|
+
"1.1.63": {
|
1518
|
+
"UpdateDate": 1714740837007,
|
1519
|
+
"Prerelease": true,
|
1520
|
+
"UpdateContents": [
|
1521
|
+
{
|
1522
|
+
"PR": 522,
|
1523
|
+
"Description": "chore: 删除被 @boomzero 除名的开发组成员"
|
1524
|
+
}
|
1525
|
+
],
|
1526
|
+
"Notes": "No release notes were provided for this release."
|
1527
|
+
},
|
1528
|
+
"1.1.64": {
|
1529
|
+
"UpdateDate": 1714819418530,
|
1530
|
+
"Prerelease": true,
|
1531
|
+
"UpdateContents": [
|
1532
|
+
{
|
1533
|
+
"PR": 523,
|
1534
|
+
"Description": "Revert Refresh Short Messages at fixed intervals (experimental)"
|
1535
|
+
}
|
1536
|
+
],
|
1537
|
+
"Notes": "No release notes were provided for this release."
|
1516
1538
|
}
|
1517
1539
|
}
|
1518
1540
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.1.
|
3
|
+
// @version 1.1.64
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -38,7 +38,7 @@
|
|
38
38
|
* You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
39
39
|
*/
|
40
40
|
const CaptchaSiteKey = "0x4AAAAAAALBT58IhyDViNmv";
|
41
|
-
const AdminUserList = ["zhuchenrui2", "shanwenxiao", "admin", "
|
41
|
+
const AdminUserList = ["zhuchenrui2", "shanwenxiao", "admin", "shihongxi"];
|
42
42
|
|
43
43
|
let PurifyHTML = (Input) => {
|
44
44
|
return DOMPurify.sanitize(Input, {
|
@@ -3790,7 +3790,7 @@ int main()
|
|
3790
3790
|
}
|
3791
3791
|
}
|
3792
3792
|
}
|
3793
|
-
RequestAPI("ReadUserMailMention",{
|
3793
|
+
RequestAPI("ReadUserMailMention", {
|
3794
3794
|
"UserID": String(SearchParams.get("to_user"))
|
3795
3795
|
});
|
3796
3796
|
RequestAPI("GetMail", {
|
@@ -3871,7 +3871,6 @@ int main()
|
|
3871
3871
|
});
|
3872
3872
|
RefreshMessage(false);
|
3873
3873
|
addEventListener("focus", RefreshMessage);
|
3874
|
-
setInterval(RefreshMessage, 500);
|
3875
3874
|
}
|
3876
3875
|
} else if (location.pathname.indexOf("/discuss3") != -1) {
|
3877
3876
|
if (UtilityEnabled("Discussion")) {
|