I want my popup.html to stay always on top (unless I close it with my button with function window.close). I need to switch tabs without having to reopen my extension.
Asked
Active
Viewed 267 times
0
-
3Can't do. You'll have to create a separate window via chrome.windows.create. – wOxxOm Oct 14 '17 at 17:07
-
2As wOxxOm has said, it's not possible to do this with an *actual* `browser_action`/`page_action` popup. You can create a pseudo-popup, which is actually a separately window. There's some code to do that in my answer to [How to create a global hotkey for opening the "browserAction" popup in Firefox (WebExtensions)?](https://stackoverflow.com/a/40296092). You will need to modify the code a bit as it's specifically intended to mimic the behavior of an actual popup. While that answer mentions WebExtensions multiple times, the base code was also tested in Chrome. – Makyen Oct 14 '17 at 17:49