xmoj-script 1.1.60 → 1.1.62
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 +5 -1
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -1491,6 +1491,28 @@
|
|
1491
1491
|
}
|
1492
1492
|
],
|
1493
1493
|
"Notes": "No release notes were provided for this release."
|
1494
|
+
},
|
1495
|
+
"1.1.61": {
|
1496
|
+
"UpdateDate": 1714207526058,
|
1497
|
+
"Prerelease": true,
|
1498
|
+
"UpdateContents": [
|
1499
|
+
{
|
1500
|
+
"PR": 517,
|
1501
|
+
"Description": "Auto Read Short message mentions"
|
1502
|
+
}
|
1503
|
+
],
|
1504
|
+
"Notes": "No release notes were provided for this release."
|
1505
|
+
},
|
1506
|
+
"1.1.62": {
|
1507
|
+
"UpdateDate": 1714208364065,
|
1508
|
+
"Prerelease": true,
|
1509
|
+
"UpdateContents": [
|
1510
|
+
{
|
1511
|
+
"PR": 519,
|
1512
|
+
"Description": "Refresh Short Messages at fixed intervals (experimental)"
|
1513
|
+
}
|
1514
|
+
],
|
1515
|
+
"Notes": "No release notes were provided for this release."
|
1494
1516
|
}
|
1495
1517
|
}
|
1496
1518
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.1.
|
3
|
+
// @version 1.1.62
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -3790,6 +3790,9 @@ int main()
|
|
3790
3790
|
}
|
3791
3791
|
}
|
3792
3792
|
}
|
3793
|
+
RequestAPI("ReadUserMailMention",{
|
3794
|
+
"UserID": String(SearchParams.get("to_user"))
|
3795
|
+
});
|
3793
3796
|
RequestAPI("GetMail", {
|
3794
3797
|
"OtherUser": String(SearchParams.get("to_user"))
|
3795
3798
|
}, async (ResponseData) => {
|
@@ -3868,6 +3871,7 @@ int main()
|
|
3868
3871
|
});
|
3869
3872
|
RefreshMessage(false);
|
3870
3873
|
addEventListener("focus", RefreshMessage);
|
3874
|
+
setInterval(RefreshMessage, 500);
|
3871
3875
|
}
|
3872
3876
|
} else if (location.pathname.indexOf("/discuss3") != -1) {
|
3873
3877
|
if (UtilityEnabled("Discussion")) {
|