I have created a small addon extension:
it adds a small button and when button is clicked, it opens a popup window.
This works fine with jpm run
When I run jpm xpi the xpi file is created.
I install it manually : button appears on my firefox. But when I click it, nothing happens:
Any idea on how to solve that ?
I tried to debug it, but I don’t see any console.log messages any more.
I have done that chrome extension already: I am trying to adapt it to firefox.
Let me explain : the extension is a simple button that popups a site chat.
On this site chat I store in localStorage the username of the user when loggedon: I just need to get that localStorage[“username”] to main.js
I guess there are many ways to do it: but I haven’t found any that works !