Created
August 28, 2022 09:27
-
-
Save Debbl/2b5733af0a08372a5648251f74be604e to your computer and use it in GitHub Desktop.
隐藏腾讯课堂正在观看提示
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 隐藏腾讯课堂正在观看提示 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description 利用CSS隐藏腾讯课堂正在观看提示*2022-08-28* | |
// @author Debbl | |
// @match https://ke.qq.com/webcourse/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ke.qq.com | |
// @license MIT | |
// @grant none | |
// ==/UserScript== | |
// about https://aiwan.run/ | |
(function () { | |
"use strict"; | |
var styleEl = document.createElement("style"); | |
var textNode = document.createTextNode( | |
"#video-container div:nth-of-type(2) {opacity: 0 !important;}" | |
); | |
styleEl.appendChild(textNode); | |
document.querySelector("head").appendChild(styleEl); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment