Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Эта тема была закрыта и архивирована. Если вам нужна помощь, задайте новый вопрос.

When adding 'pref("privacy.sanitize.sanitizeOnShutdown", true);' to default prefs file 'privacy.clearOnShutdown.cookies' and 'privacy.cpd.cookies' become false

  • Нет ответов
  • 11 имеют эту проблему
  • 6 просмотров
  • Закрыто
Locking duplicate thread.
Please continue here: [/questions/971178]

I'm constructing preconfigured Firefox 23.0.1 installation under Win 7 64-bit using browser\defaults\preferences\prefs.js file. Yes, I know that it should be called all-*companyname*.js, but it works in general in my way too.

As I have written in subj, when I add to prefs.js file 'pref("privacy.sanitize.sanitizeOnShutdown", true);' line, then lines 'pref("privacy.clearOnShutdown.cookies", true);' and 'pref("privacy.cpd.cookies", true);' stop working. If one run about:config immediately after installation, she would see that the latter two options are switched to false and marked **bold** (changed by user).

I had tested it heavily: if one comment out 'pref("privacy.sanitize.sanitizeOnShutdown", true);' line other two preferences work just fine. On the other hand if one add this cursed pref either upper or lower in code - no matter - it would turn both other preferences to *false*.

The question is where these strange side-effects are documented? And how can be made a preconfigured installation that possible both sanitize things and clear cookie data on closing?

Thanks in advance.

<pre><i>Locking duplicate thread. Please continue here: [[/questions/971178]] </i></pre> I'm constructing preconfigured Firefox 23.0.1 installation under Win 7 64-bit using browser\defaults\preferences\prefs.js file. Yes, I know that it should be called all-*companyname*.js, but it works in general in my way too. As I have written in subj, when I add to prefs.js file 'pref("privacy.sanitize.sanitizeOnShutdown", true);' line, then lines 'pref("privacy.clearOnShutdown.cookies", true);' and 'pref("privacy.cpd.cookies", true);' stop working. If one run about:config immediately after installation, she would see that the latter two options are switched to false and marked **bold** (changed by user). I had tested it heavily: if one comment out 'pref("privacy.sanitize.sanitizeOnShutdown", true);' line other two preferences work just fine. On the other hand if one add this cursed pref either upper or lower in code - no matter - it would turn both other preferences to *false*. The question is where these strange side-effects are documented? And how can be made a preconfigured installation that possible both sanitize things and clear cookie data on closing? Thanks in advance.

Изменено cor-el