Answer the question
In order to leave comments, you need to log in
Why is the addon button not showing up?
Good afternoon. I wrote an addon for myself, with the command "jpm run" it starts in a new clean Mozilla profile, the addon button is displayed, everything works. After that, I decided to put it on a daily profile - the button is not displayed anywhere, even the appearance setting is not there. I created a toolbar for this button - the situation is the same, in a clean profile everything is there - it is present in the list of toolbars, in the everyday one - there is not even a hint.
The button code is:
var buttons = require('sdk/ui/button/action');
var activated = false;
var button = buttons.ActionButton({
id: "fast-copy-links",
label: "Activate FCL",
icon: {
"16": "./deactivated-16.png",
"32": "./deactivated-32.png",
"64": "./deactivated-64.png"
},
onClick: toggleActivation
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question