Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auto-Login script for University of Michigan sites (Google Chrome)
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)
// ==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