Is there any way to detect when the focus was placed in the address bar or in the browser search bar?
I ask because I'm trying to focus on one element in my document, but adding a blur() listener to that element (which calls focus() on the same element) works too well in Safari Mac - you can't focus on the address bar when Install Focus with a timeout of 0 (required for the plugin).
source share