NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name LEARN auto-login // @namespace http://tampermonkey.net/ // @version 0.1 // @description Login automatically part 1 // @author Patrick Nicholls // @match http://learn.canterbury.ac.nz/ // @grant none // ==/UserScript== (function() { 'use strict'; //TODO Wait for chrome autofill var loginbtn = document.getElementsByClassName('ucloginbtn')[0]; console.log(loginbtn); if (loginbtn !== undefined) { loginbtn.click(); } })();