User:Anakin101/search-new-window.js

addOnloadHook(function {	var searchform = document.getElementById('searchform');	if (!searchform) return;	document.onkeydown = document.onkeyup = function(e) {		if (window.event) e = window.event;		searchform.target = e.shiftKey ? '_blank' : '_self';	}; });