您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
vx:shuake345
// ==UserScript== // @name 安泰培训系统 // @namespace vx:shuake345 // @version 0.1 // @description vx:shuake345 // @author vx:shuake345 // @match https://zmhjap.yunkeonline.cn/usercenter/#/player/7520/342721?targetType=2&targetId=2119 // @grant none // ==/UserScript== (function() { 'use strict'; function fhback() { window.history.go(-1) } function gbclose() { window.close() } function sxrefere() { window.location.reload() } function miaoshua(){ if(document.getElementsByTagName('video').length==1){ document.getElementsByTagName('video')[0].play() document.getElementsByTagName('video')[0].currentTime=13600 }else{//点击开始,还没进入课程播放 document.querySelector("div.cell > button > span").click() } } setInterval(miaoshua,3121) setTimeout(sxrefere,300000) // Your code here... })();