您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
闯关时隐藏下面的键盘
// ==UserScript== // @name TypingClub 隐藏键盘(原vip功能) // @namespace https://github.com/nelvko/script/blob/master/youhou/hidden-keyboard.js // @match *://*.edclub.com/sportal/* // @match *://*.typingclub.com/sportal/* // @grant none // @version 1.1 // @author nelvko // @license MIT // @description 闯关时隐藏下面的键盘 // @icon https://static.typingclub.com/m/favicon.png // ==/UserScript== (function () { 'use strict'; const observer = new MutationObserver((mutations, observer) => { const keyboard = document.getElementsByClassName("keyboard-plugin"); const ad = document.getElementById("adslot_video") // console.log("keyboard", keyboard); // console.log("ad", ad); if (keyboard && keyboard[0]) { keyboard[0].style.setProperty('visibility', 'hidden', 'important'); } if (ad) { ad.style.setProperty('visibility', 'hidden', 'important'); } }); observer.observe(document.body, { childList: true, subtree: true }); })();