Skip to navigation

Getting around the Penn library proxy to post directly to CiteULike

As I wrote before, one of the few problems with CiteULike is that I cannot post an article with the CiteULike Bookmarklet if I’m accessing a journal via a library proxy server (that’s practically all the time). The CiteULike FAQ give the tip of using Greasemonkey to get around the proxy server problem.

I’ve finally started to look into this and wrote my first Greasemonkey user script. So far, this just works for a single journal. What it does: When I’m browsing the Journal of Behavioral Decision Making (JBDM) via the Penn library proxy server and click on the link to an abstract of an article, the greasemonkey script takes me to the abstract directly on the JBDM website. Once that has loaded, I can then click on my “Post to CiteULike” bookmark and the article gets posted. To get back to browsing JBDM via the Penn proxy, I have to use the dropdown menu of the Firefox back button and navigate a few steps back, to the page before I first loaded the abstract.

I hope to add a few more journals and then post the whole script online for download. I might also try to replace the URL that the abstract link on the Penn proxy JBDM site links to. I’m sure JavaScript can do that, but I don’t have time to figure it out right now.

In the meantime, this is what it looks like:

// ==UserScript==
// @name           PennJBDMabstract2JBDMabstract
// @namespace      http://www.promberger.de
// @description    Goes from penn proxy JBDM abstract to outside abstract
// @include        http://proxy.library.upenn.edu:8125/cgi-bin/abstract/*
// ==/UserScript==

var proxy = new RegExp("proxy.library.upenn.edu:8125\/cgi-bin\/abstract");
var direct = "www3.interscience.wiley.com/cgi-bin/abstract";
document.location.href=document.location.href.replace(proxy,direct) ;

Addendum

The script above seems to work not just for JBDM, but for all journals from Wiley Interscience.

Here’s one for journals from Blackwell Synergy:

// ==UserScript==
// @name           blackwell synergy
// @namespace      www.promberger.de
// @include        http://proxy.library.upenn.edu:8147/doi/abs/*
// ==/UserScript==

var proxy = new RegExp("proxy.library.upenn.edu:8147");
var direct = "www.blackwell-synergy.com";
document.location.href=document.location.href.replace(proxy,direct);

Comments are closed.