User:Bryan/chick.js

addOnloadHook( function { var a = document.getElementsByTagName('a'); for (var i = 0; i < a.length; i++) { if (a[i].href.indexOf(wgServer + wgArticlePath.replace('$1', '')) == 0) {   a[i].href = a[i].href + (a[i].href.indexOf('?') == -1 ? '?' : '&') + 'useskin=chick'; } } } );