xmoj-script 2.3.1 → 2.4.1

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
@@ -3069,6 +3069,28 @@
3069
3069
  }
3070
3070
  ],
3071
3071
  "Notes": "本版本修复了由于 PHPSESSID 启用了 httpOnly 导致的后台不可用"
3072
+ },
3073
+ "2.4.0": {
3074
+ "UpdateDate": 1758956527554,
3075
+ "Prerelease": false,
3076
+ "UpdateContents": [
3077
+ {
3078
+ "PR": 856,
3079
+ "Description": "修复由于 PHPSESSID 启用了 httpOnly 导致的后台不可用"
3080
+ }
3081
+ ],
3082
+ "Notes": "请尽快升级至本版本!"
3083
+ },
3084
+ "2.4.1": {
3085
+ "UpdateDate": 1759412851092,
3086
+ "Prerelease": true,
3087
+ "UpdateContents": [
3088
+ {
3089
+ "PR": 861,
3090
+ "Description": "Update CSS selector"
3091
+ }
3092
+ ],
3093
+ "Notes": "No release notes were provided for this release."
3072
3094
  }
3073
3095
  }
3074
3096
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 2.3.1
3
+ // @version 2.4.1
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -1669,6 +1669,9 @@ async function main() {
1669
1669
  if (SubmitLink == null) {
1670
1670
  SubmitLink = document.querySelector('.mt-3 > center:nth-child(1) > a:nth-child(9)');
1671
1671
  }
1672
+ if (SubmitLink == null) { //为什么这个破东西老是换位置
1673
+ SubmitLink = document.querySelector('.mt-3 > center:nth-child(1) > a:nth-child(7)');
1674
+ }
1672
1675
  let SubmitButton = document.createElement('button');
1673
1676
  SubmitButton.id = 'SubmitButton';
1674
1677
  SubmitButton.className = 'btn btn-outline-secondary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {