$('#viewport').attr('content', 'width=533, initial-scale=' + (screen.width / 533).toFixed(4));
html, body {
overflow-x: hidden;
}
javascript:(function(){s=document.getElementsByTagName('SCRIPT');tx='';sr=[];for(i=0;i<s.length;i++){with(s.item(i)){t=text;if(t){tx+=t;}else{sr.push(src)};}};with(window.open()){document.write('<textarea%20id=%22t%22>'+(sr.join(%22\n%22))+%22\n\n-----\n\n%22+tx+'</textarea><script%20src=%22http://jsbeautifier.org/beautify.js%22></script><script>with(document.getElementById(%22t%22)){value=js_beautify(value);with(style){width=%2299%%22;height=%2299%%22;borderStyle=%22none%22;}};</script>');document.close();}})();
Enter и так открывает выбранную ссылку, это дефолтный функционал. Ссылку просто надо фокусить, как здесь.
window.addEventListener("message", messageListener);
А тут, сами видите, никакого init_typeahed нету.