[北京理工大学 BIT] 乐学增强脚本整合包

乐学脚本儿大礼包

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
windlandneko
Daily installs
0
Total installs
21
Ratings
0 0 0
Version
0.2.4
Created
2024-09-30
Updated
2025-10-26
Size
18.5 KB
License
GPL-3.0-or-later
Applies to

【北京理工大学 BIT】乐学增强脚本整合包

整合自 YDX 大佬开发的 BIT-enhanced

持续更新中,如有需求或者建议欢迎反馈~


功能一览(最下面有预览图)

  • 在所有页面中,自动获取每个链接对应题目的通过状态,并用颜色标记每一个链接
  • 在所有页面中,删除姓名中间没必要的空格
  • 提交代码后,自动点击【查看结果】按钮
  • 提交代码后,自动刷新页面,直到显示运行结果
  • 在课程详情页中,自动折叠课程头部的公告,并留下一个【展开】按钮
  • 在题目详情页中,增强了样例输入输出的格式:自动显示全部文本,附有【复制】按钮一键复制数据
  • 在运行结果页中,增强了输入输出与答案的格式(同上)
  • 在运行结果页中,显示更多测试点颜色(原来只有绿色的 AC 和红色的 WA 两种)
  • 在运行结果页中,淡化了编译警告,并用显眼的颜色和文字告诉你是否通过,不用再仔细看小字啦!

创新点

添加了更多功能

  • 更美观实用的复制按钮
  • 更简洁好看的提交结果页面

优化了获取样例的缓存策略

  • 使用 IndexedDB 缓存已获取的样例,极大加速了页面渲染速度,使用体验已和一般OJ无异~

美化部分页面

  • 修改的是一些细微的地方,就不一一列出了。

最后希望你用的愉快喵