Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

about:config "show release notes" = false setting is ignored #289

Open
nodiscc opened this issue Jun 2, 2018 · 1 comment
Open

about:config "show release notes" = false setting is ignored #289

nodiscc opened this issue Jun 2, 2018 · 1 comment

Comments

@nodiscc
Copy link

nodiscc commented Jun 2, 2018

Hello,

I have placed Decentraleyes' XPI package at /usr/share/firefox-esr/distribution/extensions/[email protected] for automatic installation in new profiles (Debian 9 Stretch), along with other addons.

In /etc/firefox-esr/firefox-esr.js [1] I have set pref("[email protected]", false); to prevent Decentraleyes release notes from showing up on Firefox startup each time a new profile is created.

However when I run a Firefox profile for the first time, the release notes are displayed.

Looking through about:config I see that [email protected] has been reset to true. In ~/.mozilla/firefox/xxxxxx.default/browser-extension-data/jid1-BoFifL9Vbdl2zQ@jetpack/storage.js there is also a setting reflecting the about:config value (eshowReleaseNotes":true).

Somehow Decentraleyes seems to reset that setting to true when a new profile is first launched. How can I prevent this?

Thanks

@Synzvato
Copy link
Owner

Synzvato commented Jun 2, 2018

Hi @nodiscc, and thanks for getting in touch. It seems that your current approach results in the creation of a configuration entry of type default. Entries of type user set are typically a lot more resilient.

For that reason, I would personally suggest following the steps outlined in Customizing Firefox Using AutoConfig (a guide by Mozilla). Following the instructions, should result in the creation of a configuration entry of the desired type (user set). Decentraleyes does not modify such entries on installation.

Basic AutoConfig Example

$FIREFOX_INSTALLATION_DIRECTORY/defaults/pref/autoconfig.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

$FIREFOX_INSTALLATION_DIRECTORY/mozilla.cfg

// IMPORTANT: Start your code on the second line.
pref("[email protected]", false);

Please do let me know if the suggestions above helped to solve your issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants