User:Chris.n.richardson/monobook.js

function externISBN { for (var i = 0; i < document.links.length; i++) {               var ln = document.links[i].href.match(/isbn=(.*)/); if (ln) { // document.links[i].href='http://www.amazon.com/exec/obidos/ASIN/'+RegExp.$1; document.links[i].href='http://us.bookbutler.com/do/bookCompare?searchFor='+RegExp.$1+'&amountIn=gbp&shipTo=gb&searchIn=uk'; }   }

}

$(externISBN);