Created
May 11, 2011 08:17
-
-
Save alexlegg/966099 to your computer and use it in GitHub Desktop.
USYD Library Proxy 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(){ | |
var loc=window.location.href; | |
var dom=document.domain; | |
var s=loc.substring(0,loc.indexOf(dom)); | |
var f=loc.substring(s.length + dom.length,loc.length); | |
window.location.href=s+dom+'.ezproxy2.library.usyd.edu.au'+f; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment