xmoj-script 1.2.38 → 1.2.39
Sign up to get free protection for your applications and to get access to all the features.
- package/Update.json +11 -0
- package/XMOJ.user.js +2 -2
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2168,6 +2168,17 @@
|
|
2168
2168
|
}
|
2169
2169
|
],
|
2170
2170
|
"Notes": "No release notes were provided for this release."
|
2171
|
+
},
|
2172
|
+
"1.2.39": {
|
2173
|
+
"UpdateDate": 1723095200260,
|
2174
|
+
"Prerelease": true,
|
2175
|
+
"UpdateContents": [
|
2176
|
+
{
|
2177
|
+
"PR": 658,
|
2178
|
+
"Description": "error reporting for image upload"
|
2179
|
+
}
|
2180
|
+
],
|
2181
|
+
"Notes": "No release notes were provided for this release."
|
2171
2182
|
}
|
2172
2183
|
}
|
2173
2184
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.39
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -4230,7 +4230,7 @@ int main()
|
|
4230
4230
|
Content.value = Before + `![](https://assets.xmoj-bbs.me/GetImage?ImageID=${ResponseData.Data.ImageID})` + After;
|
4231
4231
|
Content.dispatchEvent(new Event("input"));
|
4232
4232
|
} else {
|
4233
|
-
Content.value = Before + `![
|
4233
|
+
Content.value = Before + `![上传失败!` + ResponseData.Message + `]()` + After;
|
4234
4234
|
Content.dispatchEvent(new Event("input"));
|
4235
4235
|
}
|
4236
4236
|
});
|