User:Yatalu/global.js

/* This is all chat hacks, AFK feature, chat box clear, ping feature, multiple PMs */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* This is the auto-hide TOC line for Yatalu's use only :3 */ $(function {$('#togglelink:contains("hide")').click;});

/* Scripts from dev.wikia -- not intended for large-scale use */ importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js'    ] });

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