更新脚本版本号,修复文本选择器的选择逻辑

This commit is contained in:
竟康 2026-06-03 15:24:19 +08:00
parent 29471b6884
commit 5404d5fc7c
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name 平顶山学院(青书学堂)自动学习脚本 // @name 平顶山学院(青书学堂)自动学习脚本
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 2026-06-03 // @version 2026-06-03.1
// @description try to take over the world! // @description try to take over the world!
// @author You // @author You
// @match https://degree.qingshuxuetang.com/pdsu/Student/Course/CourseStudy* // @match https://degree.qingshuxuetang.com/pdsu/Student/Course/CourseStudy*
@ -18,7 +18,7 @@
const url = window.location.href; const url = window.location.href;
const MIN_STUDY_SECONDS = 5 * 60; const MIN_STUDY_SECONDS = 5 * 60;
const VIDEO_SELECTOR = "#vjs_video_3_html5_api"; const VIDEO_SELECTOR = "#vjs_video_3_html5_api";
const TEXT_SELECTOR = "#easyXDM_default2872_provider"; const TEXT_SELECTOR = "[id^='easyXDM_default'][id$='_provider']";
const TOAST_CONTAINER_ID = "qingshu-auto-toast-container"; const TOAST_CONTAINER_ID = "qingshu-auto-toast-container";
const TOAST_STYLE_ID = "qingshu-auto-toast-style"; const TOAST_STYLE_ID = "qingshu-auto-toast-style";
const TOAST_DEFAULT_DURATION = 4000; const TOAST_DEFAULT_DURATION = 4000;