Last active
December 13, 2015 21:08
-
-
Save hemmrich/4974800 to your computer and use it in GitHub Desktop.
Auto-Login script for University of Michigan sites (Google Chrome)
This file contains 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
INSTALLATION GUIDE | |
1) Open a text editor and copy the code from autologin.user.js into it. | |
2) Between the quotation marks on lines 6 and 7, type your UofM uniquename and kerebos password | |
3) Save the file with the .user.js extension | |
4) In Chrome, type "chrome://extensions" into the URL bar and hit enter | |
5) Drag the file you saved in step 3 into your Chrome window | |
6) Add the extension by clicking "Add" in the Confirm New Extension window that pops up | |
7) Delete the .user.js file (or edit it to remove your username/password) |
This file contains 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== | |
// @include https://weblogin.umich.edu/* | |
// @include https://weblogin.umich.edu/ | |
// ==/UserScript== | |
var username = ""; | |
var password = ""; | |
document.getElementById("login").value = username; | |
document.getElementById("password").value = password; | |
document.getElementById("loginSubmit").click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment