xmoj-script 1.2.43 → 1.2.44
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
@@ -2263,6 +2263,17 @@
|
|
2263
2263
|
}
|
2264
2264
|
],
|
2265
2265
|
"Notes": "No release notes were provided for this release."
|
2266
|
+
},
|
2267
|
+
"1.2.44": {
|
2268
|
+
"UpdateDate": 1723098260973,
|
2269
|
+
"Prerelease": true,
|
2270
|
+
"UpdateContents": [
|
2271
|
+
{
|
2272
|
+
"PR": 665,
|
2273
|
+
"Description": "fix replying"
|
2274
|
+
}
|
2275
|
+
],
|
2276
|
+
"Notes": "No release notes were provided for this release."
|
2266
2277
|
}
|
2267
2278
|
}
|
2268
2279
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.44
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -4757,7 +4757,7 @@ int main()
|
|
4757
4757
|
ReplyButton.addEventListener("click", () => {
|
4758
4758
|
let Content = Replies[i].Content;
|
4759
4759
|
Content = Content.split("\n").map((Line) => {
|
4760
|
-
return Line.startsWith("
|
4760
|
+
return Line.startsWith(">>") ? Line.substring(1).trim() : Line.trim();
|
4761
4761
|
}).join("\n").split("\n").map((Line) => {
|
4762
4762
|
return "> " + Line;
|
4763
4763
|
}).join("\n");
|