Create a new tab instead of a panel
-
12-11-2019 - |
Question
I have gone through the examples of Add-on SDK 1.5 yet haven't seen anything like a web page which the addon can interact with the user and get input from him. There are only dialogs called panel
s and I really would like to have a real page in a tab like in google-chrome addons.
Is it even possible with the Add-on SDK (1.5)?
Solution
Of course you can create a tab, you use tabs.open()
. As to interacting with this tab - you probably want to register a content script before opening the tab. Just like you would do it with Google Chrome.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow