哈哈的学习速成

快速学习

// ==UserScript==
// @name         哈哈的学习速成
// @namespace    http://tampermonkey.net/
// @version      2024-12-19
// @description  快速学习
// @license MIT
// @author       You
// @match        *://zyjs.21train.cn/play/play.aspx*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=21train.cn
// @grant        none
// ==/UserScript==

(function() {
"use strict";
var intervalId;
var start = function () {
    intervalId = setInterval(function () {
        try {
            var v = document.querySelectorAll("iframe")[0].contentDocument.querySelectorAll("video")[0]
            if (v && intervalId) {
              v.playbackRate = 16;
              clearInterval(intervalId);
              intervalId = null;
            }
        } catch (e) {
        }
  }, 1000);
};
start();
    // Your code here...
})();