Skip to content

Instantly share code, notes, and snippets.

@jbrown123
Created August 15, 2019 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbrown123/ef7dde94e9f62f0f10058a902aabf923 to your computer and use it in GitHub Desktop.
Save jbrown123/ef7dde94e9f62f0f10058a902aabf923 to your computer and use it in GitHub Desktop.
Auto login to UTA (Utah Transit Authority) WiFi - ticks the accept conditions checkbox, then clicks the connect button
// ==UserScript==
// @name Auto login to UTA WiFi
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Check the box and press the button on the UTA wifi page
// @author James Brown
// @match http://utawifi.com/
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
$(document).ready(function() {
$('#accept-conditions').prop( "checked", true );
$('button[name=btn-connect]').click();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment