您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
河南药师网刷课,功能:自动点击确定学习按钮。自助下单请前往影刃平台,在线帮助文档见:https://doc.yingren.xyz/
// ==UserScript== // @name 🥇河南药师网刷课【影刃】 // @namespace https://doc.yingren.xyz // @icon https://doc.yingren.xyz/img/logo2.jpg // @version 2 // @description 河南药师网刷课,功能:自动点击确定学习按钮。自助下单请前往影刃平台,在线帮助文档见:https://doc.yingren.xyz/ // @author 影刃 // @match https://www.hnysw.org/* // @match http://www.hnysw.org/* // @grant none // @license GPL 3 // ==/UserScript== (function() { 'use strict'; if (location.pathname.includes('lessonDetails')) { function checkPageElements() { const confirmBtnSelector = 'div.layui-layer-btn.layui-layer-btn- > a:not([disabled])'; const progressSelector = '#height .hour-right-bottom .progress.head'; const nextBtnSelector = '#height .hour-right-bottom .button > a:nth-child(2) > button'; // 处理确认弹窗 const confirmButton = document.querySelector(confirmBtnSelector); if (confirmButton?.textContent.trim() === '确定') { confirmButton.click(); return; } // 检查进度 const progressElement = document.querySelector(progressSelector); if (progressElement?.textContent.includes('100%')) { const nextButton = document.querySelector(nextBtnSelector); nextButton?.click(); } } const intervalTime = 2000; const intervalId = setInterval(checkPageElements, intervalTime); window.addEventListener('beforeunload', () => { clearInterval(intervalId); }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址