User:M͢ystr͢ile/global.js

/* ==================================================== */ /* ========        Import Articles            ======== */ /* ==================================================== */

importArticles ({	type:'script',	articles:        [                'w:c:dev:PurgeButton/code.js', //Adds Refresh button to the menu	] });

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

/**********************************/ /******   Wikia Shortcut    ******/ /**********************************/

$(document).ready(function {   $("#WikiaArticle").attr("tabindex", 1);    // If the page isn't being renamed, moved, or deleted, enable shortcuts    if(window.location.href.indexOf("?action=") == -1)    {        $("#WikiaArticle").keyup(function(e) {           switch(e.which) {               case 68: //D deletes page document.getElementById("ca-delete").click; break; case 69: //E edits page document.getElementById("ca-edit").click; break; case 77: //M moves page document.getElementById("ca-move").click; break; case 82: //R refreshes page document.getElementById("purge").click; break; }       });    } });