User:Klap Trap/global.js

importScriptPage('SkinSwitchButton/code.js', 'dev');

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