I have created a chrome extension with a simple popup.html file that contains a button tag as first element inside the body. When I test it on Chrome 26 under OS X, each time I click on my extension icon that triggers the popup, my button seems selected/focused given that I see it with a blue halo. I cannot figure out how to disable auto focus. It seems autofocus is applied on the first tag from the popup.html file. I tried to apply blur()
on the button instance retrieved with document.getElementById
but it does not work.
Is there any solution? workaround? alternative?