xmoj-script 1.1.48 → 1.1.49

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
@@ -1343,6 +1343,17 @@
1343
1343
  }
1344
1344
  ],
1345
1345
  "Notes": "No release notes were provided for this release."
1346
+ },
1347
+ "1.1.49": {
1348
+ "UpdateDate": 1709371832051,
1349
+ "Prerelease": true,
1350
+ "UpdateContents": [
1351
+ {
1352
+ "PR": 486,
1353
+ "Description": "fix showsource"
1354
+ }
1355
+ ],
1356
+ "Notes": "No release notes were provided for this release."
1346
1357
  }
1347
1358
  }
1348
1359
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.1.48
3
+ // @version 1.1.49
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -3566,6 +3566,8 @@ int main()
3566
3566
  await fetch("https://www.xmoj.tech/getsource.php?id=" + SearchParams.get("id"))
3567
3567
  .then((Response) => {
3568
3568
  return Response.text();
3569
+ }).then((Response) => {
3570
+ Code = Response;
3569
3571
  });
3570
3572
  } else {
3571
3573
  if (localStorage.getItem("UserScript-LastUploadedStdTime") === undefined || new Date().getTime() - localStorage.getItem("UserScript-LastUploadedStdTime") > 1000 * 60 * 60 * 24 * 30) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.1.48",
3
+ "version": "1.1.49",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {