// ==UserScript== // @name 脚本全能助手兼容学习、AI课、考试、支持免费视频刷 | 超星学习通 | 智慧树 | U校园/AI | MOOC | 继续教育类 | 优课学堂 | 考试 | 青书学堂 | 优学院 | 超星学习通 | AI解答 | 学习通 | 学习强国 | 中国大学mooc | 智慧职教 | 青书学堂 | WeLearn | 知到 | 乐跑 | 世界运动 | 阳光跑 | 自动刷课|大学生课程|毕业论文降重|教师等等课程提供学习 // @namespace qinghy // @version 2.2.10 // @description 当前系统脚本有几种模式已完美兼容【学习通、智慧树、签到等课程】;【完美匹配应付考试、测试、搜题】;【是个崭新的平台,基于生成AI-ChatGpt生成答案】;【自动提交、自动收录答案、无需打开电脑运行脚本】;新手建议不使用js脚本进行操作,因操作过程麻烦上手难度不小、也不大,但是耗时间研究,也有可能研究出来还是收费的;可咨询群2️⃣已满:1042758197 请入咨询群3️⃣:74028813 // @author 2.0版本 // @grant none // @run-at document-end // @license MIT // @icon https://qinghy.top/upload/images/qinglyc.jpg // @match *://*.chaoxing.com/* // @match *://*.edu.cn/* // @match *://*.nbdlib.cn/* // @match *://*.hnsyu.net/* // @match *://*.gdhkmooc.com/* // @match *://*.zhihuishu.com/* // @match *://*.tmall.com/* // @match *://chaoshi.detail.tmall.com/* // @match *://*.tmall.hk/* // @match *://*.liangxinyao.com/* // @match *://*.jd.com/* // @match *://*.jd.hk/* // @match *://*.jkcsjd.com/* // @match *://*.yiyaojd.com/* // @match *://*.vip.com/* // @match *://*.uai.unipus.cn/* // @match *://*.u.unipus.cn/* // @match *://*.mooc.yinghuaonline.com/user/login/* // @match *://*.mooc.yinghuaonline.com/* // @match *://*.www.qingshuxuetang.com/* // @match *://*.www.buu.edu.cn/* // @match *://*.www.pmphmooc.com/* // @match *://*.vipglobal.hk/* // @match *://*.welearn.sflep.com/* // @match *://*.www.ouchn.edu.cn/* // @exclude *://login.tmall.com/* // @exclude *://pages.tmall.com/* // @exclude *://wq.jd.com/* // @connect mooc1-1.chaoxing.com // @connect mooc1.chaoxing.com // @connect mooc1-2.chaoxing.com // @connect passport2-api.chaoxing.com // @connect cx.icodef.com // @connect cx.icodef.com // @connect q.icodef.com // @connect azkou.cn // @connect localhost // @connect 127.0.0.1 // @grant GM_getResourceText // @grant GM_getValue // @grant GM_info // @grant GM_setValue // @grant GM_xmlhttpRequest // @grant unsafeWindow // @grant GM_getTab // @grant GM_saveTab // @grant GM_listValues // @grant GM_deleteValue // @grant GM_notification // @grant GM_addValueChangeListener // @grant GM_removeValueChangeListener // @run-at document-start // @antifeature ads // @namespace https://qinghy.top // @homepage https://scriptcat.org/zh-CN/script-show-page/3038 // @source https://qinghy.top // @antifeature payment 可使用web付费脚本平台进行播放、考试、题库 // ==/UserScript== (function() { 'use strict'; // 创建悬浮窗口 const floatingWindow = document.createElement('div'); floatingWindow.id = 'baidu-floating-window'; floatingWindow.style.cssText = ` position: fixed; z-index: 9999; background-color: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); width: 300px; height: 500px; left: 20px; top: 20px; font-family: 'Microsoft YaHei', sans-serif; overflow: hidden; display: flex; flex-direction: column; `; // const titleBar = document.createElement('div'); titleBar.style.cssText = ` padding: 12px 15px; background-color: #f5f5f5; border-bottom: 1px solid #e0e0e0; cursor: move; display: flex; justify-content: space-between; align-items: center; user-select: none; flex-shrink: 0; `; const title = document.createElement('h3'); title.textContent = '青禾院-轻量版V 2.0'; title.style.cssText = ` margin: 0; font-size: 15px; color: #333; font-weight: normal; `; const closeBtn = document.createElement('span'); closeBtn.textContent = '×'; closeBtn.style.cssText = ` font-size: 20px; cursor: pointer; color: #999; line-height: 1; padding: 0 5px; `; // const navBar = document.createElement('div'); navBar.style.cssText = ` display: flex; border-bottom: 1px solid #f0f0f0; background-color: #fafafa; flex-shrink: 0; `; // const createNavButton = (text, onClick) => { const btn = document.createElement('button'); btn.textContent = text; btn.style.cssText = ` flex: 1; padding: 12px 0; background: none; border: none; cursor: pointer; font-size: 14px; color: #666; transition: all 0.3s; position: relative; `; btn.addEventListener('click', onClick); return btn; }; const homeBtn = createNavButton('首页', () => { homeContent.style.display = 'block'; settingsContent.style.display = 'none'; questionBankContent.style.display = 'none'; myContent.style.display = 'none'; description.style.display = 'block'; playButton.style.display = 'none'; }); const settingsBtn = createNavButton('设置', () => { homeContent.style.display = 'none'; settingsContent.style.display = 'block'; questionBankContent.style.display = 'none'; myContent.style.display = 'none'; description.style.display = 'block'; playButton.style.display = 'none'; }); const questionBankBtn = createNavButton('题库', () => { homeContent.style.display = 'none'; settingsContent.style.display = 'none'; questionBankContent.style.display = 'block'; myContent.style.display = 'none'; description.style.display = 'block'; playButton.style.display = 'block'; }); // const availableCourses = [ "学习通", "智慧树", "U校园", "MOOC", "学习强国", "知到", "乐跑", "优学院" ]; const myBtn = createNavButton('环境测试', () => { homeContent.style.display = 'none'; settingsContent.style.display = 'none'; questionBankContent.style.display = 'none'; myContent.style.display = 'block'; description.style.display = 'none'; playButton.style.display = 'none'; }); // const content = document.createElement('div'); content.style.cssText = ` padding: 15px; overflow-y: auto; flex-grow: 1; `; // const homeContent = document.createElement('div'); homeContent.innerHTML = `
首页
青禾院学习助手2.0版本
如果!如果!如果!2.0版本无法使用请移步至3.0版本,以下连接快速安装3.0版本
(当前状态:已关闭)
(当前状态:已关闭)
点击跳转到Tsing Wo College脚本批量播放
-------------------公告-------------------
`; // const myContent = document.createElement('div'); myContent.style.display = 'none'; myContent.innerHTML = `说明
欢迎机构对接合作一手独家资源,顶级质量。可批量导入,可批量查课,顶级质量,自动售后,独家一号一ip。欢迎机构老师同行来谈合作
联系方式Q:417545796
已找到课程: ${matchedCourse}
该课程题库包含:
未找到课程: ${keyword}
请联系管理员QQ:417545796 或者Q群:1042758197或74028813
`; searchStatus.textContent = `未找到课程: ${keyword}`; searchStatus.style.color = '#ff4d4f'; } // this.style.backgroundColor = '#1890ff'; }, 800); }); // resetSearchBtn.addEventListener('click', function() { this.style.backgroundColor = '#bfbfbf'; setTimeout(() => { resetSearch(); }, 200); }); // closeResultsBtn.addEventListener('click', resetSearch); // courseSearch.addEventListener('keypress', function(e) { if(e.key === 'Enter') { searchCourseBtn.click(); } }); // const needAnswerToggle = document.getElementById('settings-submit-btn'); const needAnswerStatus = document.getElementById('submit-message'); needAnswerToggle.addEventListener('change', function() { if (this.checked) { needAnswerStatus.textContent = '(当前状态:已开启)'; // window.open('https://qinghy.top', '_blank'); } else { needAnswerStatus.textContent = '(当前状态:已关闭)'; } }); // const chapterToggle = document.getElementById('chapter-toggle'); const chapterStatus = document.getElementById('chapter-status'); chapterToggle.addEventListener('change', function() { if (this.checked) { chapterStatus.textContent = '(当前状态:已开启)'; } else { chapterStatus.textContent = '(当前状态:已关闭)'; } }); // const accuracyProgress = document.getElementById('accuracy-progress'); const accuracyValue = document.getElementById('accuracy-value'); const decreaseBtn = document.getElementById('decrease-accuracy'); const increaseBtn = document.getElementById('increase-accuracy'); let currentAccuracy = 87; function updateAccuracy() { accuracyProgress.style.width = `${currentAccuracy}%`; accuracyValue.textContent = `${currentAccuracy}%`; // if (currentAccuracy < 50) { accuracyProgress.style.backgroundColor = '#ff4d4f'; // 红色 } else if (currentAccuracy < 70) { accuracyProgress.style.backgroundColor = '#faad14'; // 橙色 } else { accuracyProgress.style.backgroundColor = '#52c41a'; // 绿色 } } decreaseBtn.addEventListener('click', function() { currentAccuracy = Math.max(0, currentAccuracy - 5); updateAccuracy(); }); increaseBtn.addEventListener('click', function() { currentAccuracy = Math.min(100, currentAccuracy + 5); updateAccuracy(); }); // updateAccuracy(); // const settingsSubmitBtn = document.getElementById('settings-submit-btn'); const submitMessage = document.getElementById('submit-message'); settingsSubmitBtn.addEventListener('click', function() { // submitMessage.style.display = 'block'; // setTimeout(() => { submitMessage.style.display = 'none'; }, 3000); // console.log('设置已提交:', { autoAnswer: autoAnswerToggle.checked, needAnswer: needAnswerToggle.checked, speed: document.getElementById('speed-select').value, chapter: chapterToggle.checked, accuracy: currentAccuracy }); }); // playButton.addEventListener('click', function() { const speedSelect = document.getElementById('speed-select'); const speed = parseInt(speedSelect.value, 10); const baiduButton = document.querySelector('input#su'); if (baiduButton) { for (let i = 0; i < speed; i++) { setTimeout(() => { baiduButton.click(); }, i * 500); } } else { console.error('未找到"百度一下"按钮'); } }); // submitButton.addEventListener('click', function() { window.open('https://qinghy.top/', '_blank'); }); // const style = document.createElement('style'); style.textContent = ` .switch { position: relative; display: inline-block; width: 34px; height: 20px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #2196F3; } input:checked + .slider:before { transform: translateX(14px); } `; document.head.appendChild(style); })();