Вопрос

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?

Это было полезно?

Решение

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.

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top