After the locate click, type now refuses unless the located editable is document.activeElement, so characters are not delivered as page input when focus stayed on body. The keystroke loop checks an abort signal between characters; preview.act cancel (timeout or interrupt) and a local Stop both set it, so queued keystrokes stop. A printable press on body/html is refused unless allow_shortcut is set.