try to take over the world!
当前为
// ==UserScript==
// @name hand free dxonline.ruc
// @namespace https://github.com/tandf
// @version 0.1
// @description try to take over the world!
// @author tandf
// @match http://dxonline.ruc.edu.cn/index.php?s=/Index/vedio_cont/id/*
// @grant none
// ==/UserScript==
(function() {
function fuckChecking(){
var success = false;
var dialogs = $(".tanc2");
for (var i = 0; i < dialogs.length; i++){
if (dialogs[i].style['display'] == "block"){
console.log("catchya");
dialogs[i].children[1].click();
success = true;
}
}
if (!success){
console.log("normal");
}
}
var t1 = window.setInterval(fuckChecking, 1234);
$(".ts1.tanc>p").click();
})();