Pergunta

I'm develop Google Chrome extension. I'm using browser_action with popup windows. I would like to stay always visible popup when switch tabs?

Foi útil?

Solução

popup will auto close when lose focus.

you can use panel instead.

chrome.windows.create({ url: 'http://mobile.google.com', width: 320, height: 480, type: 'panel' })

It will keep opening across all tabs.

Outras dicas

This is impossible, the popup will always close as soon as it loses focus.

If you need an always visible UI, your only option is, probably, injecting it into all pages.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top