User:LiaSakura/global.js

importArticles({	type: "script",	articles: [		"u:dev:PurgeButton/code.js", /* Add "purge" option to page controls */		"u:dev:RevealAnonIP/usercode.js", /* Reveal AnonIP */		"u:dev:Message/code.js", /* Send a message to multiple users */		"u:dev:View_Source/code.js", /* View source code faster */		"u:dev:AjaxPatrol/code.js", /* Patrol without leaving the current page */		"u:dev:AllPagesHideRedirect/code.js", /* Hides redirects in AllPages and PrefixIndex when clicked */		"u:dev:CacheCheck/code.js", /* Crosses out resolved entries on cached special pages */		"u:dev:NullEditButton/code.js", /* Force purge */		"u:dev:SkinSwitchButton/code.js", /* Skins switch */		"u:dev:AjaxBatchDelete/code.2.js", /* Fast delete with optional protect */		"u:dev:AjaxBatchUndelete/code.js", /* Fast undelete */		"u:dev:MassNullEdit/code.js", /* Fast null edit on selected pages */		"u:dev:FixWantedFiles/code.js", /* Fixes link in Special:WantedFiles */ "w:c:c:User:LiaSakura/global.js/randompagelink.js", /* Special:Random > Special:Random/main in navigation */ "w:c:c:User:LiaSakura/global.js/imports.js", /* Other things */ "w:c:c:User:LiaSakura/Gadget-HotCat.js", /* Manage categories easier */ ] });

// // ============================================================ // displayTimer // ============================================================ var refreshDate; function addDate { var UTCDate = ((new Date).toUTCString).replace("GMT", "(UTC)"); $('#showdate').empty.append(' ' + UTCDate.substring(5) + ' '); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); } $(document).ready(function {   if (skin == 'oasis')         $(' ').appendTo('#GlobalNavigation');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 1000);    $('#displayTimer').css({'font-size': "12px"}); }); //