-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathialab.js
More file actions
23 lines (19 loc) · 689 Bytes
/
ialab.js
File metadata and controls
23 lines (19 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// ==UserScript==
// @name IALab Utils
// @version 0.1
// @description Make IALab interface better
// @author Goofables
// @match https://vcloud.ialab.dsu.edu/*
// @icon https://www.google.com/s2/favicons?domain=dsu.edu
// @grant none
// ==/UserScript==
setInterval(() => {
var buttons = document.getElementsByTagName("button");
for (var i = 0; i < buttons.length; i++) {
buttons[i].removeAttribute("disabled");
buttons[i].removeAttribute("aria-disabled");
}
}, 1000);
if (document.URL.includes("https://vcloud.ialab.dsu.edu/login/")) setInterval(() => {
document.getElementById("loginButton").click()
}, 250);