Listen to chrome omnibox events/text without any keyword triggering

后端 未结 1 574
故里飘歌
故里飘歌 2021-01-23 02:37

I learnt how to invoke my extension\'s background js by typing a specific keyword in the omnibox. But I need to enable my extension to listen to the text typed in the omnibox wi

1条回答
  •  粉色の甜心
    2021-01-23 02:49

    This is impossible. The API does not allow you to "spy" on the Omnibox.

    That's the point of the keyword - only after you've typed it the extension is informed.

    0 讨论(0)
提交回复
热议问题