优化视频播放结束后的返回逻辑并更新版本号

This commit is contained in:
竟康 2025-11-26 14:24:24 +08:00
parent 33128b5c7e
commit 6594f77a8f
1 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name 平顶山学院(青书学堂)自动学习脚本
// @namespace http://tampermonkey.net/
// @version 2025-11-24
// @version 2025-11-26
// @description try to take over the world!
// @author You
// @match https://degree.qingshuxuetang.com/pdsu/Student/Course/CourseStudy*
@ -68,11 +68,7 @@
if (video.currentTime >= video.duration - 1) {
console.log("视频播放结束,返回准备页面");
clearInterval(videoInterval);
document
.querySelector(
"body > div.wrapper > div:nth-child(66) > ol > li:nth-child(3) > a"
)
.click();
document.querySelector(".back-link").click();
}
if (video.playbackRate === 1) {