Jump to content

User:Smith609/endnote.js

From Wikipedia, the free encyclopedia
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.
/*
// This function is no longer maintained.
$( function() {
  if (document.getElementsByClassName("Z3988")) {
    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]);
    }
  }
});
*/