Extension not visible in toolbar when the browser history is disabled

Hello,

a few weeks ago we received feedback from one of our users that our extension is not working on Firefox 34. I checked it and the extension is working fine on this version of Firefox. Anyway I found the problem that the extension is not visible in the toolbar when the history of the browser is turned off.

I don’t think that our users should change their browser preferences in order to use the extension. Because of this I am trying to find a solution for this problem. I don’t know what is causing this, in my extension permissions (package.json) block I am using only cross-domain-content to gain access to the API with which the extension is communicating.

My extension is using the following modules from the Addons SDK: cookies, i18n, tabs, storage, context-menu and simple-prefs.

I would like to see your thoughts and suggestions how to fix this. Thanks!

When the browser history is disabled, the browser in private mode.

So you have to add to package.json a key that allows your addon to work in private browsing mode.

1 Like

Yes, this solved my problem.
Thank you @noitidart

Cool :slight_smile: Can you share what you did, so we can all learn please.

I Just added the private-browsing property in my package.json as you suggested

"permissions": {
    "private-browsing": true
},
2 Likes