// ==UserScript== // @name 腾讯视频观看自动播放 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author Flcwl // @match *://v.qq.com/x/cover/* // @grant none // @downloadURL none // ==/UserScript== (function() { // 全部添加到window.onload下 'use strict'; setTimeout(function() { console.log(1) var playV = document.querySelector('.txp_btn.txp_btn_play'); if(playV && playV.dataset.status ==='play') { playV.click(); } }, 3000); // 视频加载完成,网速影响 })();