Greasy Fork

Greasy Fork is available in English.

2024年智慧中小学暑假教师研修秒过

秒过2024年智慧中小学暑假教师研修,有问题可以联系我QQ3591299887。最新版本跳过视频

当前为 2024-07-24 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         2024年智慧中小学暑假教师研修秒过
// @namespace    http://tampermonkey.net/
// @version      0.25
// @author       Alcex
// @description  秒过2024年智慧中小学暑假教师研修,有问题可以联系我QQ3591299887。最新版本跳过视频
// @license MIT
// @match        https://basic.smartedu.cn/*
// @match        https://www.smartedu.cn/*
// @match        https://teacher.vocational.smartedu.cn/*
// @match        https://core.teacher.vocational.smartedu.cn/*
// ==/UserScript==

(function() {
    'use strict';

    function manipulateVideo() {
        var v = document.querySelector("video");
        if (v) {
            v.dispatchEvent(new Event("ended"));
            v.muted = true;
            v.currentTime = Math.floor(v.duration);
            v.play();
        }

        setTimeout(manipulateVideo, 1000);
    }

    function removeModal() {
        var modal = document.querySelector(".fish-modal-root");
        if (modal) {
            modal.remove();
        }
    }

    // 开始循环
    manipulateVideo();
    // 移除模态框
    removeModal();
})();