User:Nev1/common.js

var asqmReq = false; if (mw.config.get('wgNamespaceNumber') == 0) { $(' ASQM ' +  ' ').insertAfter("#ca-history"); } function asqm { if ($('#asqmContainer').css('visibility') == 'hidden') { $('#asqmContainer').css('visibility', 'visible'); if (!asqmReq) { $('#asqmContainer').html(''); $.getJSON("http://toolserver.org/~render/stools/asqm/query/json/id/" +          mw.config.get('wgArticleId') + "/lang/" + mw.config.get('wgPageContentLanguage') + "/asqmid/38ce80e7?callback=?", function(data) {        var output = " ";        asqmReq = true;        $('#asqmContainer').html(output);      }); } } else { $('#asqmContainer').css('visibility', 'hidden'); } }

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');