Frage

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?

War es hilfreich?

Lösung

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.

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top