Greasy Fork 支持简体中文。

视频自动播放

识别网页中的视频,并且自动播放的脚本

// ==UserScript==
// @name         视频自动播放
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  识别网页中的视频,并且自动播放的脚本
// @author       Mumu
// @match        https://wangda.chinamobile.com
// @icon         https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_setClipboard
// @grant        unsafeWindow
// @grant        window.close
// @grant        window.focus
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    setInterval(()=> {document.getElementsByTagName("video").item(0).play()},60000)
    // Your code here...
})();