Created
November 30, 2016 23:18
-
-
Save owenjones/263ad32a719a79f667521fc10b7c0aa3 to your computer and use it in GitHub Desktop.
Blackboard Login Bookmarklet
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
javascript:(function() { | |
if(window.location.href.indexOf("ole.bris.ac.uk") > 0) { | |
var redirect = "https://www.ole.bris.ac.uk/webapps/bb-auth-provider-cas-bb_bb60/execute/casLogin?cmd=login&authProviderId=_122_1&redirectUrl="; | |
window.location.href = redirect + encodeURIComponent(window.location.href); | |
} | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment