Repository navigation
v1.0
Pre-releaseVersion 1.0
Full Changelog: https://github.com/GalliumNitride-DL/InterceptCourseHUST/commits/v1.0
A (somewhat) stable version that is capable of skipping course videos for the course named '大学生心理健康'.
一个(大概)稳定的版本,可以稳定刷华科“大学生心理健康”课程的视频。
User Guide | 使用方法
1. Install & setup redirector extension | 安装和配置重定向插件
-
Install an extension that can redirect and modify HTTP requests and responses. We will be using Inssman (available in GitHub or Microsoft Edge Add-ons Store) for the purpose of this guide.
安装一个可以重定向和修改HTTP请求和响应的插件。我们以Inssman(下载方式见其GitHub或者Edge加载项)为例。

-
Open the options page of Inssman and create a new 'Modify Response' rule.
打开Inssman的配置页,并创建一个新的“Modify Response”规则。

-
In the 'Conditions' section, set the condition to 'If Request Contain
videojs-ext.min.js?v=2025-0212-2100'.
在“Conditions”部分,将条件设置为“If Request Containvideojs-ext.min.js?v=2025-0212-2100”。
现在版本更新了,请把Contain的内容改为videojs-ext.min.js?v=2025-0304-2100。
-
Then, paste the entire content of
videojs-ext.min.js(in this repo) into the 'Response' section (Default paste shortcut isCtrl+Shift+V).
将videojs-ext.min.js(本仓库中的文件)的全部文本粘贴到“Response”部分(粘贴快捷键为Ctrl+Shift+V)。

-
Save the rule and enable it.
保存并启用规则。
2. Install this extension | 安装本插件
-
Download the code from this repo and unzip it.
下载本仓库代码并解压。 -
Open the extensions page of your browser(
edge://extensions/for Edge) and enable Developer mode.
打开浏览器的插件页(Edge上是edge://extensions/)并启用开发者模式。 -
Click on 'Load unpacked' and select the unzipped folder.
点击“加载解压缩的扩展”并选择解压后的文件夹。

3. Enter course HUST | 进入学在华科大课程平台
-
Open the course page and play the video. The extension will copy a URL that is used to mark the course as completed, to your clipboard.
打开大学生心理健康课程页面并播放视频。插件会将一个用于标记课程完成的网址复制到剪贴板。 -
If the browser prompts you to allow the extension to copy and paste from the clipboard, please allow it.
如果浏览器提示你插件剪贴板权限,请允许。 -
Let the video play for at least 30 seconds, only longer, not shorter.
让视频播放至少30秒,只能更长,不能更短。 -
Open a new tab and paste the URL from the clipboard. The result should be something like this json with the
isPassedparameter set totrue:
打开一个新标签页并访问剪贴板中的网址。结果应该是一个像这样的json,其中isPassed参数为true:
{"isPassed":true,"videoTimeLimit":false,"hasJobLimit":false} -
You can then close the tab and proceed to the next course. The current course should be marked as completed, theoretically.
关闭标签页并继续下一个课程。理论上,当前课程会被直接标记为已完成。 -
If the
isPassedparameter is nottrue, it might be because you waited for too long before visiting the URL. In this case, you can wait a bit longer, until the seconds count of the video is between 30 and 60(like 1:35, 2:45, etc.), and try again.
如果isPassed不是true,可能是由于在访问网址之前等待的时间太长。这种情况下,可以再等到视频的秒数在30到60之间(比如1:35,2:45等),然后再访问。 -
If for some reason the course is still not marked as completed, then I would have no idea what went wrong. Maybe you are just not lucky enough.
如果课程仍未被标记为已完成,那我也就不知道出了什么问题了。也许你只是不运气不好。 -
Remember to disable these extensions after using them.
使用完毕后记得禁用这些插件。
Disclaimer | 免责声明
- See
README.mdfor the disclaimer.
仅供学习研究使用,不能代替正常学习。玄学插件,不保证能运行。使用前确保你已经详细了解本插件的逻辑。
出现任何问题或造成任何经济、财产或精神等的损失,本人一概不负责。详见README.md。