I want to achieve this
- Anchor a panel to a widget
- make it persist
- It will only appear or disappear when widget is clicked
- or It may be made to disappear by clicking some button on it
I want to achieve this because my addon is entirely residing in a panel
Here is the addon.
Ok, I looked at this a bit more, and I’d like to apologize for a couple of things:
One way to approach this is to load your html directly from the data folder, pass it into the content script and inject it into the page. Something like this:
https://builder.addons.mozilla.org/addon/1043886/latest/
Some usability guidelines for this: