xmoj-script 1.2.72 → 1.2.74

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 CHANGED
@@ -2666,6 +2666,32 @@
2666
2666
  }
2667
2667
  ],
2668
2668
  "Notes": "No release notes were provided for this release."
2669
+ },
2670
+ "1.2.73": {
2671
+ "UpdateDate": 1738925550389,
2672
+ "Prerelease": false,
2673
+ "UpdateContents": [
2674
+ {
2675
+ "PR": 753,
2676
+ "Description": "fix: 修复代码长度单位换算错误"
2677
+ },
2678
+ {
2679
+ "PR": 758,
2680
+ "Description": "Fix #714"
2681
+ }
2682
+ ],
2683
+ "Notes": "No release notes were provided for this release."
2684
+ },
2685
+ "1.2.74": {
2686
+ "UpdateDate": 1738933722742,
2687
+ "Prerelease": true,
2688
+ "UpdateContents": [
2689
+ {
2690
+ "PR": 762,
2691
+ "Description": "讨论回复跳转优化"
2692
+ }
2693
+ ],
2694
+ "Notes": "This was so hard......"
2669
2695
  }
2670
2696
  }
2671
2697
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.2.72
3
+ // @version 1.2.74
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -1199,7 +1199,7 @@ async function main() {
1199
1199
  ToastViewButton.classList.add("btn", "btn-primary", "btn-sm");
1200
1200
  ToastViewButton.innerText = "查看";
1201
1201
  ToastViewButton.addEventListener("click", () => {
1202
- open("https://www.xmoj.tech/discuss3/thread.php?tid=" + MentionList[i].PostID, "_blank");
1202
+ open("https://www.xmoj.tech/discuss3/thread.php?tid=" + MentionList[i].PostID + '&page=' + MentionList[i].PageNumber, "_blank");
1203
1203
  RequestAPI("ReadBBSMention", {
1204
1204
  "MentionID": Number(MentionList[i].MentionID)
1205
1205
  }, () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.2.72",
3
+ "version": "1.2.74",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {