User:BanRay/monobook.js

$(doQuickCount); function doQuickCount { if (mw.config.get('wgPageName') == "Special:Contributions") { var name = document.getElementById("contentSub").getElementsByTagName("a"); var rname = name[0].innerHTML; if (rname == "Talk") return; //IP var cnteraj = sajax_init_object(null); cnteraj.open("GET", 'http://en.wikipedia.org/w/query.php?what=contribcounter&'+     'titles=User:'+rname+'&format=xml', true); cnteraj.onreadystatechange = function {     if(cnteraj.readyState != 4) return; document.getElementById("contentSub").innerHTML = 'Edit count for ' + rname.fontcolor("Green").bold + ": " + cnteraj.responseText.split(" ")[1].split(" ")[0].fontcolor("Maroon").bold + " " + document.getElementById("contentSub").innerHTML; };   cnteraj.send(null); } }

importScript('User:AzaToth/twinkle.js'); importScript('User:Ioeth/friendly.js'); // User:Dschwen/highlightredirects.js - please include this line document.write(' '); /**** afd helper ****/ document.write(' '); /* This is to keep track of who is using this extension: User:Jnothman/afd_helper/script.js */ importScript('User:TheDJ/Gadget-HotCat.js');