User:Mystery99/global.js

//PN-Benachrichtigungen var PrivateMessageAlert = { beepSound: 'http://images3.wikia.nocookie.net/pucky/de/images/6/65/Pling.ogg', message: 'Neue Nachricht von $1!', notifications: true, alertWhileFocused: false };

//Import Configurations massCategorizationDelay = 1000; //Imports importArticles({   type: 'script',    articles: [        'u:dev:AjaxRename/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:ContribsLink/code.js',        'u:dev:DiscussionsActivity.js',        'u:dev:EditConflictAlert/code.js',        'u:dev:EditcountTag/code.js',        'u:dev:FindAndReplace/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:PiniginsUserInfo/code.js',        'u:dev:PrivateMessageAlert/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:SaveKey/code.js',        'u:dev:SeeMoreActivityButton/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;    //event.stopPropagation;    window.location = '/wiki/' + encodeURI(suchText);  } });