Hi James,

Thank you so much for helping me with this lockPref("places.history.enabled", 
true); 😊

But , we are looking to disable private browsing in Firefox (in GUI) 
permanently for production users .Can you please help me on this

 lockPref("browser.privatebrowsing.autostart", false); this is not we


/Ajay

-----Original Message-----
From: James Pearson [mailto:jame...@moving-picture.com]
Sent: den 14 februari 2018 17:34
To: Kumar Kondru <kondru.ku...@hm.com>; enterprise@mozilla.org
Subject: Re: [Mozilla Enterprise] " Remember History" should be enabled always

Kumar Kondru wrote:
>
> I want to keep " Remember History" in privacy tab as users are
> changing the settings in production. And, we should not allow user to
> change it from " Remember History" to others (Never remember history,
> use custom settings for history)
>
> I tried hard to make changes via config file but it didn't help. So,
> Kindly help me to keep " Remember History" always via config file

You don't say what config changes you've made - but I think you can achieve 
this by adding the following to your autoconfig cfg file:

  lockPref("places.history.enabled", true);
  lockPref("browser.privatebrowsing.autostart", false);

This appears to prevent users selecting 'Never remember history', but does 
allow 'Use custom settings for history' - with 'Remember my browsing and 
download history' locked to 'on'

I guess you will also want to disable Private Browsing ? - if so, then this can 
be done via CCK2 - which also removes the 'Never remember history' menu item

James Pearson

The information contained in this e-mail message may be privileged, 
confidential, and protected from disclosure. Any unauthorized use, printing, 
copying, disclosure or dissemination of this communication may be subject to 
legal restriction or sanction. If you think that you have received this e-mail 
message in error, please reply to the sender and delete this message from your 
computer.
_______________________________________________
Enterprise mailing list
Enterprise@mozilla.org
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
enterprise-requ...@mozilla.org with a subject of "unsubscribe"

Reply via email to