🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

VJS | VJudge 原题(洛谷 + UOJ + QOJ + LOJ 合并搜索)

在 VJudge 比赛题目页添加原题链接;并行在洛谷、UOJ、QOJ、LOJ 搜索并合并候选,优先展示洛谷/ UOJ 结果。

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

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!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
Oracynx
Installationen heute
0
Installationen gesamt
5
Bewertungen
0 0 0
Version
1.8
Erstellt am
14.09.2025
Letzte Aktualisierung
15.09.2025
Größe
34,1 KB
Lizenz
MIT
Wird angewandt auf

VJS | VJudge 原题搜索脚本 — 附加说明

功能 在 VJudge 比赛题目页自动搜索并显示可能的原题链接,支持洛谷、UOJ、QOJ、LOJ

特点

  • 并行查询四个平台,提高命中率
  • 优先级:洛谷 > UOJ > QOJ > LOJ
  • 支持 GM_xmlhttpRequest,失败时回退 fetch
  • 页面内显示结果,带重试按钮

使用方法 安装脚本后,打开 VJudge 比赛页,切换题目时会自动显示结果

权限 需要 GM_xmlhttpRequest / GM.xmlHttpRequest 需要 @connect 声明 luogu.com.cn, uoj.ac, qoj.ac, loj.ac

已知限制

  • 受 CORS 和目标站点结构变化影响,可能失败
  • 标题匹配不一定完全准确
  • 不能保证百分百命中,只是节省查找时间

鸣谢 基于 Murasame-chan 的脚本,均采用 MIT 协议