I try to make a chrome extension. For this project I need to have a functio开发者_运维问答n that when I activate my popup by clicking on a icon it will not close when I am by instant select a text in a webpage. Normally the popup will hide automatically.
I there a way to block the auto hide function in the google chrome extension.
Thank you,
Wouter
you cannot do that in Chrome by design. If you want something to show / hide, please use a Page Action instead of a Browser Action.
For the page action, you can show and hide the page popup.
精彩评论