Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ab00a3c
Initial plan
Copilot May 30, 2026
2f2e552
Fix: Wrap async init in IIFE to fix Violentmonkey SyntaxError for top…
Copilot May 30, 2026
d375406
3.5.1
github-actions[bot] May 30, 2026
3be870f
Update version info to 3.5.1
github-actions[bot] May 30, 2026
61a770c
Fix init flow bugs from review
Copilot May 30, 2026
d4a9349
Update description for PR 986 in Update.json
PythonSmall-Q May 30, 2026
e7f94d8
Update time and description of 3.5.1
github-actions[bot] May 30, 2026
2993f85
Merge pull request #986 from XMOJ-Script-dev/copilot/fix-syntax-error…
PythonSmall-Q May 30, 2026
94cab11
Bump actions/dependency-review-action from 4 to 5
dependabot[bot] May 30, 2026
24e9133
Merge pull request #982 from XMOJ-Script-dev/dependabot/github_action…
PythonSmall-Q May 30, 2026
1ca8d17
Use Monaco Editor and save code in submitpage.php when edit the conte…
def-WA2025 Jun 12, 2026
e0c2693
fix: eliminate dark mode flash in MonochromeUI / NewBootstrap
claude Jun 14, 2026
8a064f5
refactor: remove redundant late skin CSS injection from Style element
claude Jun 14, 2026
f38b4aa
fix: handle @resource cache miss to prevent broken page on first install
claude Jun 14, 2026
3c9fbfc
fix: restore link removal loop to guarantee old CSS is un-applied
claude Jun 14, 2026
9b227de
fix: evict preload-scanned old CSS at DOMContentLoaded, not at IIFE time
claude Jun 14, 2026
d554e7d
fix: hide page at document-start to eliminate CLS from preload scanner
claude Jun 14, 2026
da0075c
fix: move FOUC reveal into IIFE to fix mandatory 3s wait
claude Jun 14, 2026
258a31d
3.5.3
github-actions[bot] Jun 14, 2026
8ba07e3
Update version info to 3.5.3
github-actions[bot] Jun 14, 2026
366829b
Update time and description of 3.5.3
github-actions[bot] Jun 14, 2026
bd58527
Update time and description of 3.5.3
github-actions[bot] Jun 14, 2026
6c5bbbc
Update time and description of 3.5.3
github-actions[bot] Jun 14, 2026
63b2e69
Update time and description of 3.5.3
github-actions[bot] Jun 14, 2026
74a6c07
fix: inject skin CSS on @resource cache miss
claude Jun 14, 2026
69a65f5
Update time and description of 3.5.3
github-actions[bot] Jun 14, 2026
2ff4536
Merge pull request #992 from XMOJ-Script-dev/claude/elegant-volta-u94vc7
PythonSmall-Q Jun 20, 2026
0bf0ed5
fix: pin Monaco to 0.52.2 to stop intermittent load failures
boomzero Jul 27, 2026
38738d3
3.5.4
github-actions[bot] Jul 27, 2026
f0a8826
Update version info to 3.5.4
github-actions[bot] Jul 27, 2026
0da6227
Merge pull request #997 from XMOJ-Script-dev/fix/monaco-load-failure-991
boomzero Jul 27, 2026
3155ea1
3.6.0
github-actions[bot] Jul 27, 2026
a8af10a
Update to release 3.6.0
github-actions[bot] Jul 27, 2026
a8e9df1
Merge pull request #1000 from XMOJ-Script-dev/actions/temp
github-actions[bot] Jul 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/DependencyScan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/dependency-review-action@v4
- uses: actions/dependency-review-action@v5
67 changes: 67 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3616,6 +3616,73 @@
}
],
"Notes": "No release notes were provided for this release."
},
"3.5.1": {
"UpdateDate": 1780117325597,
"Prerelease": true,
"UpdateContents": [
{
"PR": 986,
"Description": "Fix Violentmonkey SyntaxError: wrap async init block in IIFE"
}
],
"Notes": "No release notes were provided for this release."
},
"3.5.2": {
"UpdateDate": 1781282360668,
"Prerelease": true,
"UpdateContents": [
{
"PR": 989,
"Description": "Use Monaco Editor and save code in submitpage.php when edit the content"
}
],
"Notes": "Use Monaco Editor and save code in submitpage.php when edit the content."
},
"3.5.3": {
"UpdateDate": 1781427038989,
"Prerelease": true,
"UpdateContents": [
{
"PR": 992,
"Description": "fix: eliminate dark-mode flash in MonochromeUI/NewBootstrap"
}
],
"Notes": "修复了 MonochromeUI / NewBootstrap 新界面在深色模式下加载时出现的白色闪烁(FOUC/CLS)问题。"
},
"3.5.4": {
"UpdateDate": 1785114353055,
"Prerelease": true,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Mark the shipped release as non-prerelease

Because the production updater scans Update.json for the newest entry whose Prerelease is false, leaving the new 3.5.4 entry marked as a prerelease means non-debug users on 3.5.0 will still consider 3.5.0 the latest production version and won't be prompted to install this release. For a master release, this entry needs to be published as a release (or accompanied by a newer non-prerelease entry) before the site is deployed.

Useful? React with 👍 / 👎.

"UpdateContents": [
{
"PR": 997,
"Description": "fix: pin Monaco to 0.52.2 to stop intermittent editor load failures"
}
],
"Notes": "修复了提交代码页面上 Monaco 编辑器有时无法加载、退化为纯文本框的问题(Monaco 0.53.0 的上游 bug)。"
},
"3.6.0": {
"UpdateDate": 1785117984532,
"Prerelease": false,
"UpdateContents": [
{
"PR": 986,
"Description": "Fix Violentmonkey SyntaxError: wrap async init block in IIFE"
},
{
"PR": 989,
"Description": "Use Monaco Editor and save code in submitpage.php when edit the content"
},
{
"PR": 992,
"Description": "fix: eliminate dark-mode flash in MonochromeUI/NewBootstrap"
},
{
"PR": 997,
"Description": "fix: pin Monaco to 0.52.2 to stop intermittent editor load failures"
}
],
"Notes": "本次发布将 3.5.0 之后的四个预发布版本合并为正式版 3.5.4:\n\n- **#986** 修复 Violentmonkey 下因顶层 `await` 导致的 `SyntaxError`(将异步初始化包进 IIFE)。\n- **#989** 提交代码页面(submitpage.php)改用 Monaco Editor,并支持编辑时保存代码。\n- **#992** 修复 MonochromeUI / NewBootstrap 新界面在深色模式下加载时的白色闪烁(FOUC/CLS)问题。\n- **#997** 将 Monaco 固定到 0.52.2,修复编辑器有时无法加载、退化为纯文本框的问题(0.53.0 上游 bug)。"
}
}
}
3,979 changes: 2,371 additions & 1,608 deletions XMOJ.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmoj-script",
"version": "3.5.0",
"version": "3.6.0",
"description": "an improvement script for xmoj.tech",
"main": "AddonScript.js",
"scripts": {
Expand Down
Loading