User:Benfutbol10/global.js

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

importArticles({   type: 'script',    articles: [        'w:dev:PortableCSSPad/code.js'    ] });

//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 }   });    // Purge    $('body').append('<div style="width:50px; height:50px; border-radius:50px; position:fixed; background: red;z-index:999; right:10px; background: #CCC url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsTAAALEwEAmpwYAAABPlBMVEUAAAAAAAB/f39VVVU/Pz9VVVVfX19UVFRMTExFRUVOTk5VVVVPT09LS0tQUFBUVFRNTU1VVVVUVFRRUVFPT09SUlJPT09SUlJNTU1SUlJRUVFPT09PT09RUVFQUFBTU1NQUFBQUFBPT09QUFBRUVFQUFBRUVFRUVFQUFBQUFBRUVFSUlJRUVFPT09RUVFRUVFRUVFQUFBQUFBRUVFQUFBQUFBRUVFQUFBRUVFQUFBQUFBQUFBRUVFQUFBPT09QUFBRUVFQUFBRUVFRUVFRUVFQUFBRUVFPT09RUVFPT09PT09QUFBRUVFPT09RUVFPT09RUVFPT09RUVFPT09QUFBRUVFPT09RUVFPT09RUVFQUFBPT09PT09RUVFPT09RUVFRUVFRUVFPT09RUVFRUVFPT09RUVFPT09RUVFRUVGPB34wAAAAaXRSTlMAAQIDBAYICQoLDQ8QERMVFxgb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