Greasy Fork is available in English.

配速播放

(仅自动播放、静音)

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         配速播放
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  (仅自动播放、静音)
// @author       You
// @match        https://www.sxgbxx.gov.cn/*
// @match        https://www.zxx.edu.cn/*
// @match        http://tyj.railsctc.com:8080/*
// @match        https://ipx.yanxiu.com/*
// @grant        none
// @license      You
// ==/UserScript==
 
(function() {
    'use strict';
    //document.querySelector('video').play();
    //current_video.volume = 0
    // Your code here...
    setInterval(function () {
        for (var i = 0; i < document.getElementsByTagName('video').length; i++) {
            var current_video = document.getElementsByTagName('video')[i]
            // 静音
            current_video.volume = 0
            document.querySelector('video').playbackRate = 1;
 
            // 如果视频被暂停
            if (current_video.paused) {
                current_video.play()
            }
 
        }
    }, 2000)
})();