弹窗时自动消除
// ==UserScript==
// @name 空管网络大学课程自动学习助手
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 弹窗时自动消除
// @author xxx
// @match https://kgzgkc.caacmooc.org/adks-spcrm/videoPlay/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=caacmooc.org
// @grant none
// @license CC BY-NC 3.0 CN
// ==/UserScript==
(function() {
'use strict';
var intervalReturn= setInterval(() => {
//console.log("扫描ing")
let jixu =document.getElementById("jxstudy")
let target = document.getElementsByClassName("toshare")
if(target&&target[0]&&target[0].display=="none") return
if(!jixu) return
jixu.click()
//console.log("监控到~~~");
}, 5000);
})();