A handy bookmarklet
At RuG we have access to several academic journals. From inside the university network this access is transparent. When outside I must first authenticate through a proxy server. The latter is sometimes inconvenient. For example if I'm at home and find a paper through Google, then in order to access the PDF I should go to the RuG journals list and search again. Although this doesn't take long it is somewhat inconvenient.
Somewhat more convenient is the following. If the paper is at the URL
then I can obtain full access to it by adding .proxy-ub.rug.nl after the hostname. The final URL is
orig=document.location.href.toString(); parts=orig.split('/'); parts+='.proxy-ub.rug.nl'; document.location.href=parts.join('/');
For maximum convenience I have installed this as a bookmarklet in Safari. Whenever I visit the webpage of a paper, I click on the bookmarklet and the magic phrase is added to the URL. After that I authenticate with the proxy server and I am redirected back to the paper webpage with full access rights. You can do the same by dragging the following link to your bookmarks bar or by saving it to your bookmarks.