// ==UserScript==
// @name 灯塔
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match http://dyjy.dtdjzx.gov.cn/*
// @match https://dyjy.dtdjzx.gov.cn/*
// @grant none
// @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @downloadURL none
// ==/UserScript==
(function() {
'use strict';
var abc="
";
$("#app").append(abc);
var aa= window.setTimeout(function() {document.getElementsByClassName("el-icon-video-play")[0].click()}, 5000); //小播放按钮
var bb=window.setTimeout(function() {
document.getElementsByTagName("canvas")[0].click()}, 10000); //开始播放
var cc=window.setTimeout(function() {
if(document.getElementsByTagName("canvas")[0]){
window.close()}
}, 200000); //关闭
var dd=window.setTimeout(function() {window.location.reload()}, 220000); //刷新页面
$("#app").on("click","#baiduwenku_helper_download_btn",function(){
alert("请刷新")
});
$("#app").on("click","#baiduwenku_helper_copyall_btn",function(){
window.clearTimeout(aa);
window.clearTimeout(bb);
window.clearTimeout(cc);
window.clearTimeout(dd);
alert("已停止")
});
})();