sintetico82
sintetico82

Reputation: 503

Google Chrome extension: always visible popup

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?

Upvotes: 0

Views: 1742

Answers (2)

greatghoul
greatghoul

Reputation: 1538

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.

Upvotes: 1

Xan
Xan

Reputation: 77571

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.

Upvotes: 0

Related Questions