智慧中小学快刷补丁

配合2024寒假脚本更加,解决失效

// ==UserScript==
// @name         智慧中小学快刷补丁
// @namespace    http://tampermonkey.net/
// @version      2024-02-06
// @description  配合2024寒假脚本更加,解决失效
// @author       jh.y
// @match        https://basic.smartedu.cn/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=firefoxchina.cn
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var ii = 0;
   setInterval(function () {
        for (var i = 0; i < document.getElementsByTagName('video').length; i++) {
            var c_video = document.getElementsByTagName('video')[i]
            // 静音
            c_video.volume = 0

            
             c_video.playbackRate =2.0
             window.confirm=function()
            {
                return true;
            }
//
           for ( i = 1; i<240; i++ ) {

      let video = document.getElementsByTagName('video')
            for (let i=0; i<video.length; i++) {
        video[i].currentTime = video[i].duration
    }
     window.confirm=function()
            {
                return true;
            }
     }

            //如果视频被暂停
            if (c_video.paused) {
                c_video.play()
            }
        }
    }, 800)
})();