xmoj-script 1.2.37 → 1.2.39
Sign up to get free protection for your applications and to get access to all the features.
- package/Update.json +22 -0
- package/XMOJ.user.js +5 -3
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2157,6 +2157,28 @@
|
|
2157
2157
|
}
|
2158
2158
|
],
|
2159
2159
|
"Notes": "No release notes were provided for this release."
|
2160
|
+
},
|
2161
|
+
"1.2.38": {
|
2162
|
+
"UpdateDate": 1723094571329,
|
2163
|
+
"Prerelease": true,
|
2164
|
+
"UpdateContents": [
|
2165
|
+
{
|
2166
|
+
"PR": 657,
|
2167
|
+
"Description": "log Success"
|
2168
|
+
}
|
2169
|
+
],
|
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."
|
2160
2182
|
}
|
2161
2183
|
}
|
2162
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
|
});
|
@@ -5050,4 +5050,6 @@ int main()
|
|
5050
5050
|
}
|
5051
5051
|
}
|
5052
5052
|
|
5053
|
-
main()
|
5053
|
+
main().then(r => {
|
5054
|
+
console.log("XMOJ-Script loaded successfully!");
|
5055
|
+
});
|