User:Alex H Brown/monobook.js

// Script from User:Lupin/popupsdev.js mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js'             + '&action=raw&ctype=text/javascript');

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

// This code will change ISBN links to point to the url of // your choice, instead of Special:Book_sources. // User:Lunchboxhero/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; }   }

}

addOnloadHook(externISBN);