Sorry, didn't mean to be terse in my answer.

You have to lock the button pref:

lockPref("general.disable_button.default.browser");

Mike Kaply

On Thu, Feb 18, 2016 at 2:46 PM, WOWK Kate <[email protected]>
wrote:

> Thanks, I have already tried that and the button is still there and
> available for the users to click on
>
>
>
>
>
> *Kate Wowk*
> *Software Packaging & Release*
> *Operations - Enterprise Services*
> Tel.: +61 (0)2 8037 6348
> Mob.: +61 (0)408 235 158
>
> *Thales Australia*
>
> 7 Murray Rose Avenue
> Sydney Olympic Park, NSW 2127
> Australia
>
> www.thalesgroup.com.au | [email protected]
>
> [image: cid:[email protected]]
> <http://www.thalesgroup.com.au/>
>
>
>
>
>
> *From:* Kaply Consulting [mailto:[email protected]]
> *Sent:* Friday, 19 February 2016 7:38 AM
> *To:* WOWK Kate
> *Cc:* [email protected]
> *Subject:* Re: [Mozilla Enterprise] Make Default Button locking
>
>
>
> https://mike.kaply.com/2014/10/22/disabling-buttons-in-preferences/
>
>
>
> On Thu, Feb 18, 2016 at 2:34 PM, WOWK Kate <[email protected]>
> wrote:
>
> Hi,
>
>
>
> Can anyone please help me with the code to lock or hide the Make Default
> Button in my Mozilla.cfg file for ESR 38.6.0 or 38.6.1.
>
>
>
> I currently have the following settings:
>
>
>
> lockPref("browser.shell.checkDefaultBrowser", false);
>
> pref("general.disable_button.default.browser");
>
>
>
> and have also tried
>
>
>
> lockPref("browser.shell.checkDefaultBrowser", false);
>
> pref("general.disable_button.default.browser" true;
>
>
>
> This has disabled the check for default browser but the Make Default
> button is still available for users to click.  I want to disable the button
> so the users do not have the option.
>
>
>
> Any suggestions please?  I have not found much help via google so far.
>
>
>
> Thank you
>
>
>
> *Kate Wowk*
> *Software Packaging & Release*
> *Operations - Enterprise Services*
> Tel.: +61 (0)2 8037 6348
> Mob.: +61 (0)408 235 158
>
> *Thales Australia*
>
> 7 Murray Rose Avenue
> Sydney Olympic Park, NSW 2127
> Australia
>
> www.thalesgroup.com.au | [email protected]
>
> [image: cid:[email protected]]
> <http://www.thalesgroup.com.au/>
>
>
>
>
>
> This message contains* OPEN *information that is not sensitive and can be
> freely accessed by people both inside and outside of the Thales Group
>
> This email was classified by WOWK Kate on Friday, 19 February 2016
> 7:34:26 AM
>
> -------------------------------------------------------------------------
> DISCLAIMER: This e-mail transmission and any documents, files and previous
> e-mail messages attached to it are private and confidential. They may
> contain proprietary or copyright material or information that is subject to
> legal professional privilege. They are for the use of the intended
> recipient only. Any unauthorised viewing, use, disclosure, copying,
> alteration, storage or distribution of, or reliance on, this message is
> strictly prohibited. No part may be reproduced, adapted or transmitted
> without the written permission of the owner. If you have received this
> transmission in error, or are not an authorised recipient, please
> immediately notify the sender by return email, delete this message and all
> copies from your e-mail system, and destroy any printed copies. Receipt by
> anyone other than the intended recipient should not be deemed a waiver of
> any privilege or protection. Thales Australia does not warrant or represent
> that this e-mail or any documents, files and previous e-mail messages
> attached are error or virus free.
> -------------------------------------------------------------------------
>
>
> _______________________________________________
> Enterprise mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> [email protected] with a subject of "unsubscribe"
>
>
>
> This message contains* OPEN *information that is not sensitive and can be
> freely accessed by people both inside and outside of the Thales Group
>
> This email was classified by WOWK Kate on Friday, 19 February 2016
> 7:46:18 AM
> -------------------------------------------------------------------------
> DISCLAIMER: This e-mail transmission and any documents, files and previous
> e-mail messages attached to it are private and confidential. They may
> contain proprietary or copyright material or information that is subject to
> legal professional privilege. They are for the use of the intended
> recipient only. Any unauthorised viewing, use, disclosure, copying,
> alteration, storage or distribution of, or reliance on, this message is
> strictly prohibited. No part may be reproduced, adapted or transmitted
> without the written permission of the owner. If you have received this
> transmission in error, or are not an authorised recipient, please
> immediately notify the sender by return email, delete this message and all
> copies from your e-mail system, and destroy any printed copies. Receipt by
> anyone other than the intended recipient should not be deemed a waiver of
> any privilege or protection. Thales Australia does not warrant or represent
> that this e-mail or any documents, files and previous e-mail messages
> attached are error or virus free.
> -------------------------------------------------------------------------
>
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

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

Reply via email to