2

I am making a simple Google Chrome extension and I was wondering, is there a way to understand in my content script when the focus is on the Chrome's address bar?

Xan
  • 74,770
  • 16
  • 179
  • 206

1 Answers1

1

Generic JavaScript answer is no.

Chrome does not present any specific API to expand your capability; there is the omnibox API, but for security/privacy reasons you only start to get events from that after the user enters a keyword you specify in the manifest.

So, still no.

Community
  • 1
  • 1
Xan
  • 74,770
  • 16
  • 179
  • 206