User:Prince(ss) Platinum/global.js

importArticles({   type: 'script',    articles: [        'u:dev:RevealAnonIP/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:RecentChangesModule/code.js'    ] });

//Edit count tab $(function {   var loc = window.location.href;    var username = (wgTitle == "Contributions") ? loc.substring(loc.lastIndexOf("/")+1) : wgTitle;    $('.tabs-container > ul.tabs').append('Editcount'); });

//Advanced Tools $.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js');

//LMGTFY Chat script //By Princess Platinum

$('[name="message"]').keypress(function (e) {   if (e.which == 13) {        var test = "/lmgtfy";        if (this.value.indexOf(test) > -1 && this.value.indexOf(test) < 8) {            var query = this.value.replace('/lmgtfy ', '');            var query = query.replace(/ /g, "+");            this.value = "http://www.lmgtfy.com/?q=" + query        }    } });