User:Hulothe/global.js

importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:MiniComplete/code.js',        'u:dev:WHAM/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:QuickTools/advanced.js',        'u:wikimarks:Client.js',        'u:dev:View_Source/code.js',        'u:fr.harrypotter:MediaWiki:Gadget-Contributions.js',        'u:dev:VisualSpellCheck/code.js',        'u:dev:PageMakerPro/code.js',        'u:dev:Code/code.js',        'u:dev:QQX/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:CapsFirst/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:UserRightsRecord/code.js',        'u:dev:Message/code.js'     ] });

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

//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'); });

//Special CSS controller jQuery(function ($) {   if (mw.config.get('wgCanonicalSpecialPageName') === 'CSS') {        $(".css-editor").prepend(" 100% ");    };    var countcss = 0;    $("#buttom-css").click(function  { countcss += 1; if (countcss == 1) { $(this).text("Default"); $(".css-editor-wrapper").css("width", "100%"); $(".css-side-bar").css("display", "none"); $(".ace_gutter").css("display", "none"); $(".ace_scroller").css("left", "0px"); }       if (countcss == 2) { $(this).text("100%"); $(".css-editor-wrapper").css("width", "auto"); $(".css-side-bar").css("display", "block"); $(".ace_gutter").css("display", "block"); $(".ace_scroller").css("left", "49px"); countcss = 0 }   }); });