When working outside of my university IP domain, I have to use a login server to access publishers websites.
Most url that were of the form http://pubs.domain.org/XXX.html
are transformed into http://pubs.domain.org.gateway.university.edu/XXX.html
The problem is: most publishers websites have a useless search tool, so I use google and land on the regular website, and using Web of Knowledge outside of the university often fails to connect to the publisher. I have found that replacing manually the URL works as long as I have authentified in the last hour.
I am searching for a way of using a bookmarklet to do this automatically. I have found this question that seems to be what I'm looking for, but I never used javascript before and have been unable to adapt it. Bookmarklet to edit current URL
Thanks!