- With the interface running, set
window.ga = console.log
. - Setting the body to be empty from non-empty triggers a reset.
- Changing any of the first three characters of the body triggers a reset.
- Clicking a result triggers a resultClicked.
- Exiting or refreshing the page triggers a pageClose.