User:Just a MessageBoardsFan/global.js

importScriptPage('SkinSwitchButton/code.js', 'dev'); ///////////////////////////////////////////////////////////////////////// /***********************************************************************/ /************************ Import Configurations ************************/ /***********************************************************************/ ///////////////////////////////////////////////////////////////////////// /* Mass Effect Configs */ batchDeleteDelay = 250; massCategorizationDelay = 500; massProtectDelay = 500; massRedirectDelay = 500; massRenameDelay = 500; massRenameSummary = "Renaming Pages"; nullEditDelay = 250; WHAMDelay = 500; //End MEC*/ ///////////////////////////////////////////////////////////////////////// /***********************************************************************/ /******************************* Imports *******************************/ /***********************************************************************/ ///////////////////////////////////////////////////////////////////////// importArticles({   type: 'script',    articles: [        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AutoEditPages/code.js',        'u:dev:CleanWantedFiles/code.js',        'u:dev:Linksweeper/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:MassEdit/code.js',        'u:dev:MassNullEdit/code.js',        'u:dev:MassProtect/code.js',        'u:dev:MassRedirect/code.1.js',        'u:dev:MassRename/code.js',        'u:dev:MassRenameRevert/code.js',        'u:dev:WHAM/code.2.js',        'u:dev:MediaWiki:IsTyping/code.js',        'u:dev:UserAccountAge/code2.js'    ] });//End Imports*/ /* AwesomeSearch */ var searchForm = document.getElementById("searchForm"); var searchInput = document.getElementById("searchInput"); searchForm.addEventListener ("submit", function(event) { "use strict";  if (searchInput.value.indexOf(":") != -1) {    event.preventDefault;    window.location = '/wiki/' + encodeURI(searchInput.value);  } }); /* chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /* AjaxRC */ dev:AjaxRC/code.js /* Account Age */ importArticles({   type: "script",    articles: [        "u:dev:UserAccountAge/code2.js"    ] }); /*Discussions Feed */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DiscussionsFeed.js',    ] });