While you do need to listen to events triggered on the entire page, this code should still go in the omnibox view. Also, so that this doesn't trigger on the options page in the webapp, the listeners should be attached to the page, not the entire window: `this.$el.parents(".page")`.