Skip to content

Commit

Permalink
Revert Refresh Short Messages at fixed intervals (experimental) (#523)
Browse files Browse the repository at this point in the history
* Revert Refresh Short Messages at fixed intervals (experimental)

* 1.1.64

* Update version info to 1.1.64

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
boomzero and github-actions[bot] authored May 4, 2024
1 parent 65dddac commit 4ae3f54
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
11 changes: 11 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -1524,6 +1524,17 @@
}
],
"Notes": "No release notes were provided for this release."
},
"1.1.64": {
"UpdateDate": 1714819418530,
"Prerelease": true,
"UpdateContents": [
{
"PR": 523,
"Description": "Revert Refresh Short Messages at fixed intervals (experimental)"
}
],
"Notes": "No release notes were provided for this release."
}
}
}
5 changes: 2 additions & 3 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name XMOJ
// @version 1.1.63
// @version 1.1.64
// @description XMOJ增强脚本
// @author @XMOJ-Script-dev, @langningchen and the community
// @namespace https://github/langningchen
Expand Down Expand Up @@ -3790,7 +3790,7 @@ int main()
}
}
}
RequestAPI("ReadUserMailMention",{
RequestAPI("ReadUserMailMention", {
"UserID": String(SearchParams.get("to_user"))
});
RequestAPI("GetMail", {
Expand Down Expand Up @@ -3871,7 +3871,6 @@ int main()
});
RefreshMessage(false);
addEventListener("focus", RefreshMessage);
setInterval(RefreshMessage, 500);
}
} else if (location.pathname.indexOf("/discuss3") != -1) {
if (UtilityEnabled("Discussion")) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmoj-script",
"version": "1.1.63",
"version": "1.1.64",
"description": "an improvement script for xmoj.tech",
"main": "AddonScript.js",
"scripts": {
Expand Down

0 comments on commit 4ae3f54

Please sign in to comment.