Jump to content

User:Smith609/endnote.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Smith609 (talk | contribs) at 17:42, 21 March 2009 (Spacing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
addOnloadHook( function() {
refs = document.getElementsByClassName("Z3988");
link = new Array();
space = new Array();
for (var i=0; i<refs.length; i++){
        space[i] = document.createTextNode(" ");
	link[i] = document.createElement("a");
	link[i].innerHTML = "Endnote";
	link[i].href = "http://toolserver.org/~verisimilus/Scholar/coins.php?r=" + escape(refs[i].title);
	refs[i].appendChild(space[i]);
	refs[i].appendChild(link[i]);
}
});