Created
June 11, 2023 10:46
-
-
Save overflowy/04bc671ac778d63051815ff5394eff2a to your computer and use it in GitHub Desktop.
Automatically select GUI-Mode when opening a Hetnzer console
This file contains hidden or 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 hetzner-gui | |
// @namespace Violentmonkey Scripts | |
// @match https://console.hetzner.cloud/console/* | |
// @grant none | |
// @version 1.0 | |
// @author [email protected] | |
// @description 11/06/2023, 12:15:51 | |
// ==/UserScript== | |
const waitForCheckbox = setInterval(() => { | |
const checkboxInput = document.querySelector(".hc-checkbox-icon"); | |
if (checkboxInput) { | |
checkboxInput.click(); | |
clearInterval(waitForCheckbox); | |
} | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment