Giter Club home page Giter Club logo

xmoj-script's Introduction

此项目已经停止开发,不再提供任何更新和维护。后续开发工作将在 XMOJ-Script 项目中进行。

wakatime Release Prerelease GitHub GitHub code size in bytes GitHub release GitHub issues

点击此处访问官网查看更多内容

介绍

XMOJ增强脚本是一个功能强大的浏览器扩展,旨在提升用户在XMOJ(虚拟在线竞赛平台)上的使用体验。 该脚本通过添加多种实用功能和界面优化,使用户能够更高效地参与竞赛、管理代码和享受更好的界面交互。

  • 比赛ACM排名与下载功能:允许用户查看比赛的ACM排名,并提供下载选项,方便离线查阅。
  • 查看更多标程:展示更多的标准程序代码,帮助用户更好地理解题目要求和正确解法。
  • 获取别人的测试点数据:允许用户获取其他人的测试点数据,用于分析问题和优化代码。
  • 自动刷新比赛列表与排名:使比赛列表和排名页面自动定时刷新,获取最新信息。
  • 界面时间自动倒计时:在比赛列表等界面上自动显示剩余时间倒计时,方便用户了解时间情况。
  • 回放视频下载功能:为回放视频添加下载选项,方便用户离线观看回放。
  • 自动提交已AC题目:自动将已通过的题目再次提交,提高题目的通过率。
  • 自动选择O2优化:在代码提交界面自动选择O2优化选项,提高代码效率。
  • 界面美化:改善界面外观,提供更好的用户体验。
    • 使用新版的Bootstrap样式库:更新界面样式,使之更现代。
    • 重新排版:对界面进行重新排版,提高可读性。
    • 增加彩色文字:为界面增加彩色文字元素,增添视觉吸引力。
    • 状态界面添加单位:为状态界面的内存和耗时添加单位,方便理解。
    • 暗色模式:引入暗色模式,减少眼部疲劳。
    • 增加动画:为界面元素增加动画效果,提升交互体验。
    • 对错符号替换:将题目前的对错符号替换为勾和叉,更直观。
    • 去除多余提示:消除界面上多余反复的提示信息。
    • 中文翻译:统一使用中文,翻译部分英文内容,提高可理解性。
    • 替换链接为按钮:将方括号包装的链接替换为按钮,提升操作便捷性。
    • 移除无用功能:去除无法使用的功能,精简界面。
    • 关键词替换:将特定关键词替换为相应内容,增强可读性。
  • 自动跳转到登录界面:在需要登录的页面自动跳转到登录界面,提高操作便捷性。
  • 自动保存用户名与密码:自动保存登录信息,免去每次手动输入的步骤。
  • 复制测试样例:在题目界面复制测试样例内容,方便粘贴到本地编辑器。
  • 自动刷新状态页面结果:使状态页面中的结果自动刷新,便于实时查看变化。
  • 复制题目或题解内容:允许用户复制题目或题解的内容,方便保存和分享。
  • 一键打开所有题目:在比赛题目界面一键打开所有题目,提高操作效率。
  • 代码检查功能:在提交代码前对代码进行检查,以确保代码质量。
    • 是否使用了文件输入输出:检查是否正确使用了文件输入输出功能。
    • 是否有编译错误:检查是否存在编译错误,避免提交无效代码。
  • 修复登录后跳转失败:解决登录后跳转问题,确保用户能够顺利进入下一步操作。
  • 下载页面增加内容:在下载页面增加更多内容,提供更多资源下载。
  • 比较代码:允许用户比较不同版本的代码,方便进行代码对比与分析。

通过XMOJ增强脚本,您将能够更便捷地参与竞赛,提高AC率,管理代码,优化学习体验,同时享受美化界面带来的愉悦感受。 无论是竞技还是学习,这个脚本都将成为您在XMOJ平台上的得力助手。 无论您是新手还是经验丰富的竞赛选手,XMOJ增强脚本都将为您的比赛体验带来前所未有的便利和效率。 立即安装并体验吧!

安装

请参考 官网介绍

贡献

请注意, 请将所有 pull request 提交到dev分支, 否则他们会被关闭。

xmoj-script's People

Contributors

boomzero avatar dependabot[bot] avatar github-actions[bot] avatar pythonsmall-q avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xmoj-script-dev

xmoj-script's Issues

Mail设定漏洞

从discuss点击短消息会跳转到discuss3/mail.php,应该是根域名/mail.php

打开mail.php显示错误

打开mail.php显示JSON解析错误:SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
刷新一下就发现自己被注销了

[ENHANCEMENT] 增加黑白选择

**Is your feature request related to a problem? Please describe. **
NO

Describe the solution you'd like
Dear author, i pleed you to add a feature allowing me to choose dark or light mode

Describe alternatives you've considered
add a button in the config page choosing dark mode, auto disabled

Additional context
Add any other context or screenshots about the feature request here. Type None if there is no additional context.

[BUG] View source dark mode

Describe the bug
Dark mode is not enabled on view source page.

Expected behavior
Use the CodeMirror code editor instead of the default one.

Environment

  • Browser Version: Microsoft Edge Version 117.0.2024.0 (Official build) canary (64-bit)
  • Script Version: 0.1.34

Screenshots
image

Error Information
None

Additional context
None

[BUG] 主页新闻框消失

Describe the bug
新闻框消失
image

Expected behavior
A clear and concise description of what you expected to happen.

Environment

  • Browser Version: e.g. Microsoft Edge Version 123.4.5678.9 (Official build) canary (64-bit)
  • Script Version: e.g. 0.1.88

Screenshots
If applicable, add screenshots to help explain your problem.

Error Information
Open DevTools (F12) and switch to Console zone. Copy the recent error here. (Note: your page may reload after closing the DevTools.) Type None if there is no error information.

Additional context
Add any other context about the problem here. Type None if there is no additional context.

[Enhancement] make the send button unclickable when CLoudflare Turnstile has not verified you

Maybe consider changing cloudflare turnstile to beta or using the paid plan since cloudflare turnstile is slow in some regions for example Tibet and Xinjiang where i am now travelling in
also, why not make the send button unclickable when turnstile has not verified you, also changing turnstile setting to auto mode(which only show when needed which saves a lot of time)

[Chore] Update photos

readme.md 和 网站的照片部分过期, 没有充分展现XMOJ-script的新功能

讨论区无法删除帖子

删除时显示 JSON解析错误:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

[Bug] 修复错误的HTML escape

编辑时如果回复中出现了<或者>等HTML关键字符导致编辑中变为&...;,应当在编辑时替换回原本字符

[BUG] Dark mode not enabled on record info page

Describe the bug
Dark mode not enabled on record info page title.

Expected behavior
The title is dark theme.

**Desktop (please complete the following information): **

  • Browser Version Microsoft Edge Version 117.0.2024.0 (Official build) canary (64-bit)
  • Script Version 0.1.33

Screenshots
image

Error Information
None

Additional context
None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.