关闭***正在观看直播弹幕 2020-2-18 有效
// ==UserScript==
// @name 关闭腾讯课堂正在观看弹幕
// @namespace http://tampermonkey.net/
// @version 1.2
// @description 关闭***正在观看直播弹幕 2020-2-18 有效
// @author SDchao
// @match https://ke.qq.com/webcourse/*
// @grant none
// @require https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js
// ==/UserScript==
var intervalFlag;
(function() {
'use strict';
// Your code here...
intervalFlag = setInterval(clearDamu,300);
})();
function clearDamu() {
var marquee = document.getElementById("marquee");
if(marquee) {
marquee.firstElementChild.innerHTML = "";
// clearInterval(intervalFlag);
}
$("div[class^='player-marquee']").remove();
}