User:Mystery99/global.js

//Import Configurations massCategorizationDelay = 500;

var MultiUploadoption = { max: 100 }; //Imports importArticles({   type: 'script',    articles: [        'u:dev:AjaxEdit.js',        'u:dev:AjaxRename/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:ContribsLink/code.js',        'u:dev:DiscussionsActivity.js',        'u:dev:EditBio/code.js',        'u:dev:EditConflictAlert/code.js',        'u:dev:EditcountTag/code.js',        'u:dev:FindAndReplace/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:MassEdit/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:RedirectManagement/code.js',        'u:dev:ReferencePopups/code.js',        'u:dev:SaveKey/code.js',        'u:dev:SeeMoreActivityButton/code.js',        'u:dev:UserActivityTab/code.js',        'u:dev:UserCheck/code.js',        'u:dev:ViewRemoved/code.js',        'u:dev:WallGreetingButton/code.js',        'u:dev:WhatLinksHere/code.js',    ] });

/* AwesomeSearch */ document.forms[0].addEventListener ("submit", function(event) { "use strict";  var suchText = this["query"].value;  if (suchText.indexOf(":") != -1) {    event.preventDefault;    var loc = window.location.href;    window.location = loc.substring(0, 6 + loc.lastIndexOf("/wiki/")) + encodeURI(suchText);  } });