User:Jgjake2/global.js

PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev');

$(document).bind('DOMSubtreeModified',function{   var $editPageDialog = $('#EditPageDialog');    if($editPageDialog){        var $articlpvw = $('.ArticlePreview:first-child');        var $modalContent = $('#EditPageDialog .modalContent:first');        var $preview_h1 = $('#EditPageDialog h1:first');        var $buttonDiv = $('#EditPageDialog .modalToolbar:first');        var $btns = $('#EditPageDialog .wikia-button');        $editPageDialog.css({'top' : '15px', 'width' : '850px'});        $articlpvw.css('height', '780px');        $modalContent.css('margin-bottom', '2px');        $preview_h1.css({'height' : '10px', 'margin-top' : '0px', 'margin-bottom' : '0px', 'padding-top' : '0px', 'padding-bottom' : '0px', 'font-size' : '10px'});        $buttonDiv.css({'padding-top' : '0px', 'margin-top' : '0px', 'line-height' : '15px'});        $btns.css({'height' : '12px', 'line-height' : '12px', 'padding-top' : '0px', 'margin-top' : '0px'}); /*       $editPageDialog.css('top', '15px'); $editPageDialog.css('width', '850px'); $articlpvw.css('height', '780px'); $modalContent.css('margin-bottom', '2px'); $preview_h1.css('height', '10px'); $preview_h1.css('margin-top', '0px'); $preview_h1.css('margin-bottom', '0px'); $preview_h1.css('padding-top', '0px'); $preview_h1.css('padding-bottom', '0px'); $preview_h1.css('font-size', '10px'); $saveButton.css('padding-top', '1px'); $saveButton.css('margin-top', '1px'); */   } });