您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
9/28/2023, 11:30:22 AM
// ==UserScript== // @name iJoiner // @namespace Violentmonkey Scripts // @match https://student.iclicker.com/* // @grant none // @version 1.1 // @license MIT // @author DeathMage_75 // @description 9/28/2023, 11:30:22 AM // automatically joins classes for you // ==/UserScript== (function() { let counter = 0; unsafeWindow.setInterval(function() { if (counter < 10) { console.log("iJoiner Starting "); counter++; } const joinButton = unsafeWindow.document.querySelector("button#btnJoin.join-button.white-focus"); const innerContainer = unsafeWindow.document.querySelector("div#join-inner-container"); const buttonStyles = unsafeWindow.getComputedStyle(innerContainer); if(buttonStyles.getPropertyValue("display") != "none") { joinButton.click(); } } , 500); })();