From 0b1dd7a2168444a039b23b504a0d6a3adce9b767 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 03:43:42 +0000 Subject: [PATCH 1/2] Initial plan From 6303ee8fac2a7103cd25555935d234c6e13099d5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 03:48:23 +0000 Subject: [PATCH 2/2] feat: add HTML frontend for Cloudflare Pages deployment Co-authored-by: PythonSmall-Q <106425289+PythonSmall-Q@users.noreply.github.com> Agent-Logs-Url: https://github.com/XMOJ-Script-dev/ELXMOJ/sessions/64320354-8da8-471e-b22d-04461a839d1e --- docs/_headers | 5 + docs/index.html | 822 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 827 insertions(+) create mode 100644 docs/_headers create mode 100644 docs/index.html diff --git a/docs/_headers b/docs/_headers new file mode 100644 index 0000000..fa1639d --- /dev/null +++ b/docs/_headers @@ -0,0 +1,5 @@ +/* + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Referrer-Policy: strict-origin-when-cross-origin + Permissions-Policy: geolocation=(), camera=(), microphone=() \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..a2cae3a --- /dev/null +++ b/docs/index.html @@ -0,0 +1,822 @@ + + +
+ + +ELXMOJ 是专为 XMOJ 打造的桌面客户端,自动注入 XMOJ-Script,支持脚本更新检测与设置持久化,让刷题体验更流畅。
+集成 XMOJ-Script 的全部增强功能,提供原生桌面体验。
+启动时自动加载 XMOJ-Script userscript,无需浏览器扩展,开箱即用。
+每次启动可自动检查脚本是否有新版本,发现更新时弹窗提示,一键更新。
+支持正式版(xmoj-bbs.me)与预览版(dev.xmoj-bbs.me)两个更新通道,自由切换。
+通道选择、启动行为等设置自动保存,重启后依然生效,无需重复配置。
+原生支持 Windows、macOS 和 Linux,提供与系统一致的桌面体验。
+内置自检功能,可在菜单或设置中手动执行,快速诊断运行环境是否正常。
+从 GitHub Releases 获取最新版本,支持 Windows、macOS 和 Linux。
+下载安装后即可开始使用,无需复杂配置。
+根据操作系统选择对应的安装包,Windows 运行 .exe 安装程序,macOS 解压 .zip,Linux 使用 AppImage 或 tar.gz。
首次启动会自动初始化 XMOJ-Script,并打开 www.xmoj.tech,脚本将自动注入到页面中。
+通过菜单栏 ELXMOJ → 设置 可调整更新通道、启动行为,以及手动执行自检或更新脚本。
+