User:Sebastian Hudak/common.js

if (/https?:\/\/en\.wikipedia\.org\/w\/index\.php\?title=(Help|Wikipedia):.+&action=edit/.test(window.location.href)) //                                                                     ^ add "|(.+[_ ])?[Tt]alk" before closing paranthesis to enable on talk pages window.location.replace(window.location.href.replace("action", "veaction"));

/* if (/[^(ve)]action=edit/.test(window.location.href)) { var textArea = document.getElementById("bodyContent"); textArea.addEventListener("keydown", function(event) {		if (event.key == "Alt") {			document.getElementById("p-logo").style = "display: none;";		}	}); } */