Greasy Fork

Greasy Fork is available in English.

TOD🚀全平台网课助手【学习通 U校园ai 知到 英华 仓辉 雨课堂 职教云】【学起 青书 柠檬 睿学 慕享 出头科技 慕华】【国开 广开 上海开放大学】等平台 客服微信:WKWK796 自动刷课

🐯全网免费仅做一款脚本🐯】、【🚀已完美兼容、智慧树、中国大学mooc、慕课、雨课堂、新国开、超星、学习通、知到、国家开放大学、蓝墨云、职教云、智慧职教、云班课精品课、山东专技、西财在线剩余网站仅支持部分功能🚀】【半兼容、绎通云、U校园、学堂在线】、【😎完美应付测试,全自动答题,一键完成所有资源学习(视频挨个刷时长不存在滴)、视频倍速😎】、

当前为 2025-04-10 提交的版本,查看 最新版本

// ==UserScript==
// @name         TOD🚀全平台网课助手【学习通 U校园ai 知到 英华 仓辉 雨课堂 职教云】【学起 青书 柠檬 睿学 慕享 出头科技 慕华】【国开 广开 上海开放大学】等平台 客服微信:WKWK796  自动刷课
// @namespace    https://github.com/wkwk796
// @version      1.7.3
// @description  🐯全网免费仅做一款脚本🐯】、【🚀已完美兼容、智慧树、中国大学mooc、慕课、雨课堂、新国开、超星、学习通、知到、国家开放大学、蓝墨云、职教云、智慧职教、云班课精品课、山东专技、西财在线剩余网站仅支持部分功能🚀】【半兼容、绎通云、U校园、学堂在线】、【😎完美应付测试,全自动答题,一键完成所有资源学习(视频挨个刷时长不存在滴)、视频倍速😎】、
// @author       Wkwk796
// @match        *://*.chaoxing.com/*
// @match        *://*.zhihuishu.com/*
// @match        *://mooc1.chaoxing.com/nodedetailcontroller/*
// @match        *://*.chaoxing.com/mooc-ans/work/doHomeWorkNew*
// @match        *://*.chaoxing.com/work/doHomeWorkNew*
// @match        *://*.edu.cn/work/doHomeWorkNew*
// @match        *://*.asklib.com/*
// @match        *://*.chaoxing.com/*
// @match        *://*.hlju.edu.cn/*
// @match        *://lms.ouchn.cn/*
// @match        *://xczxzdbf.moodle.qwbx.ouchn.cn/*
// @match        *://tongyi.aliyun.com/qianwen/*
// @match        *://chatglm.cn/*
// @match        *://*.zhihuishu.com/*
// @match        *://course.ougd.cn/*
// @match        *://moodle.syxy.ouchn.cn/*
// @match        *://moodle.qwbx.ouchn.cn/*
// @match        *://elearning.bjou.edu.cn/*
// @match        *://whkpc.hnqtyq.cn:5678/*
// @match        *://study.ouchn.cn/*
// @match        *://www.51xinwei.com/*
// @match        *://*.w-ling.cn/*
// @match        *://xuexi.jsou.cn/*
// @match        *://*.edu-edu.com/*
// @match        *://xuexi.jsou.cn/*
// @match        *://spoc-exam.icve.com.cn/*
// @match        *://*.icve.com.cn/*
// @match        *://zice.cnzx.info/*
// @grant        unsafeWindow
// @grant        GM_xmlhttpRequest
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_info
// @grant        GM_addStyle
// @grant        none
// @license      MIT
// @icon         https://static.zhihuishu.com/static/img/favicon.ico
// ==/UserScript==

(function() {
    'use strict';

    // 创建控制面板
    const panel = document.createElement('div');
    GM_addStyle(`
        #study-panel {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 15px;
            border-radius: 10px;
            z-index: 9999;
            font-family: Arial;
        }
        .panel-title { font-weight: bold; margin-bottom: 10px; }
        .contact { color: #00ff00; }
    `);
    panel.id = "study-panel";
    panel.innerHTML = `
        <div class="panel-title">学习通助手 v2025.04.10</div>
        <div>状态:<span id="status">运行中</span></div>
        <div>联系方式:<a class="contact" href=" ">wkwk796</a ></div>
    `;
    document.body.appendChild(panel);

    // 核心功能实现
    const init = () => {
        let iframe;
        try {
            iframe = document.querySelector('iframe').contentWindow.document.querySelectorAll('iframe')[0].contentWindow;
        } catch(e) {
            console.log('未检测到视频框架');
            return;
        }

        // 自动播放
        const playBtn = iframe.document.querySelector('.vjs-big-play-button');
        if(playBtn) {
            playBtn.click();
            console.log('已触发自动播放');
        }

        // 倍速设置(默认2倍)
        const speedControl = iframe.document.querySelectorAll('#video .vjs-playback-rate .vjs-menu-item');
        if(speedControl.length > 0) {
            speedControl[2].click(); // 选择第三个选项(通常为2倍速)
        }

        // 静音处理
        const muteBtn = iframe.document.querySelector('.vjs-mute-control');
        if(muteBtn && !muteBtn.classList.contains('vjs-vol-0')) {
            muteBtn.click();
        }

        // 自动跳转下一节
        const progressBar = iframe.document.querySelector('.vjs-progress-control');
        if(progressBar && parseInt(progressBar.getAttribute('aria-valuenow')) >= 99) {
            document.querySelector('.orientationright').click();
        }

        // 移除答题弹窗
        const dialog = iframe.document.querySelector(".el-dialog__wrapper.dialog-test");
        if(dialog) {
            dialog.remove();
            iframe.document.querySelector("body").classList.remove("el-popup-parent--hidden");
        }
    };

    // 动态监听框架加载
    new MutationObserver(() => {
        if(document.querySelector('iframe')) {
            init();
        }
    }).observe(document.body, { childList: true, subtree: true });

    // 每5秒检测一次状态
    setInterval(init, 5000);
})();