xmoj-script 1.2.4 → 1.2.5

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
@@ -1710,6 +1710,17 @@
1710
1710
  }
1711
1711
  ],
1712
1712
  "Notes": "No release notes were provided for this release."
1713
+ },
1714
+ "1.2.5": {
1715
+ "UpdateDate": 1722044501316,
1716
+ "Prerelease": true,
1717
+ "UpdateContents": [
1718
+ {
1719
+ "PR": 566,
1720
+ "Description": "预览版域名切换"
1721
+ }
1722
+ ],
1723
+ "Notes": "No release notes were provided for this release."
1713
1724
  }
1714
1725
  }
1715
1726
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.2.4
3
+ // @version 1.2.5
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -390,7 +390,7 @@ if (UtilityEnabled("AutoLogin") && document.querySelector("body > a:nth-child(1)
390
390
  }
391
391
 
392
392
  let SearchParams = new URLSearchParams(location.search);
393
- let ServerURL = (UtilityEnabled("DebugMode") ? "https://ghpages.xmoj-bbs.tech/" : "https://www.xmoj-bbs.me")
393
+ let ServerURL = (UtilityEnabled("DebugMode") ? "https://ghpages.xmoj-bbs.me/" : "https://www.xmoj-bbs.me")
394
394
  let CurrentUsername = document.querySelector("#profile").innerText;
395
395
  CurrentUsername = CurrentUsername.replaceAll(/[^a-zA-Z0-9]/g, "");
396
396
  let IsAdmin = AdminUserList.indexOf(CurrentUsername) !== -1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {