xmoj-script 1.2.62 → 1.2.63
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 -1
- package/package.json +1 -1
package/Update.json
CHANGED
@@ -2532,6 +2532,17 @@
|
|
2532
2532
|
}
|
2533
2533
|
],
|
2534
2534
|
"Notes": "No release notes were provided for this release."
|
2535
|
+
},
|
2536
|
+
"1.2.63": {
|
2537
|
+
"UpdateDate": 1727743018230,
|
2538
|
+
"Prerelease": true,
|
2539
|
+
"UpdateContents": [
|
2540
|
+
{
|
2541
|
+
"PR": 731,
|
2542
|
+
"Description": "a quick fix for mathjax"
|
2543
|
+
}
|
2544
|
+
],
|
2545
|
+
"Notes": "No release notes were provided for this release."
|
2535
2546
|
}
|
2536
2547
|
}
|
2537
2548
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.2.
|
3
|
+
// @version 1.2.63
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -1503,6 +1503,7 @@ async function main() {
|
|
1503
1503
|
localStorage.setItem("UserScript-Problem-" + Temp[i].children[1].innerText + "-Name", Temp[i].children[2].innerText);
|
1504
1504
|
}
|
1505
1505
|
} else if (location.pathname == "/problem.php") {
|
1506
|
+
RenderMathJax();
|
1506
1507
|
if (SearchParams.get("cid") != null) {
|
1507
1508
|
document.getElementsByTagName("h2")[0].innerHTML += " (" + localStorage.getItem("UserScript-Contest-" + SearchParams.get("cid") + "-Problem-" + SearchParams.get("pid") + "-PID") + ")";
|
1508
1509
|
}
|