User:Items being taken/common.js

document.addEventListener("keydown", displayPrompt, false);

function displayPrompt(e) { if(e.keyCode == "\t".charCodeAt(0)) { p = prompt("Page to view: ", ""); if(p != null && p != "") { window.location = p;   } } }