Created
February 2, 2026 22:24
-
-
Save DereC4/b33ed82932d6ddc6dbc49bd68d571f40 to your computer and use it in GitHub Desktop.
Autoconnect to UT Guest Wifi and skip the pesky login screen, every time! Tampermonkey JavaScript
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 UT Guest Wi-Fi Auto-Accept | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Clicks the checkbox to trigger events, then clicks "Accept" on the UT Guest Wi-Fi login page. | |
| // @author You | |
| // @match http://login.utguest.org/login.html* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| const checkbox = document.getElementById('enableCheckbox'); | |
| const acceptButton = document.getElementById('actionButton'); | |
| if (checkbox && acceptButton) { | |
| console.log("Tampermonkey: Found checkbox and button."); | |
| if (!checkbox.checked) { | |
| checkbox.click(); | |
| } | |
| setTimeout(function() { | |
| acceptButton.click(); | |
| }, 100); // 100 millisecond delay, just in case. | |
| } else { | |
| console.error("Tampermonkey: Could not find the checkbox or accept button."); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment