Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-07-08 Thread Kaply Consulting
On Wed, Jun 29, 2016 at 11:39 AM, Marco Gaiarin wrote: > > As it stands, though, AutoConfig using pref (not defaultPref) is your > best > > solution for that. > > And to be clear, pref() in an AutoConfig is totally different than > pref() a > > default Javascript file. > > See: > > https://bugzil

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-29 Thread Marco Gaiarin
Mandi! Kaply Consulting In chel di` si favelave... > That's what AutoConfig is, only you have to specify the location via a > prefernce. > You have an interesting idea, though. It would be nice if one could have > multiple AutoConfig scripts. Maybe I'll implement that. Cool! > But it would st

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-24 Thread Kaply Consulting
> Anyway, the good method is not to use AutoConfig, eg not use a simple preference file but a JS script and the function defaultPref(); Ok That's what AutoConfig is, only you have to specify the location via a prefernce. You have an interesting idea, though. It would be nice if one could have mul

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-22 Thread Marco Gaiarin
Mandi! Kaply Consulting In chel di` si favelave... >> I try to explain better: it is a general behaviour, or it is related >> only to that precise extensions that release also a file in (packed) >> 'preferences' folder? > You actually would have this problem with all extensions. Ok. ;( >> 2)

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-21 Thread Kaply Consulting
On Tue, Jun 21, 2016 at 8:52 AM, Marco Gaiarin wrote: > > Two question. > > 1) this is intended, or a ''side effect'' of releasing packed > extensions? > I try to explain better: it is a general behaviour, or it is related > only to that precise extensions that release also a file in (packed) >

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-21 Thread Marco Gaiarin
Mandi! Kaply Consulting In chel di` si favelave... > Unfortunately when you use default prefs you end up in a race condition with > the add-on. OK. So i supposed well. > The best thing to do is actually to set user prefs, not default prefs. Then > those are used instead (unless the add-on doe

Re: [Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-20 Thread Kaply Consulting
Unfortunately when you use default prefs you end up in a race condition with the add-on. The best thing to do is actually to set user prefs, not default prefs. Then those are used instead (unless the add-on does something silly and force the read of default prefs). You will have to use autoconfig

[Mozilla Enterprise] Default preferences for 'packed' extensions?

2016-06-17 Thread Marco Gaiarin
I'm moving to FF45, and i'm moving installation of extensions from ''unpacked'' to ''packed''. Some non-signed extensions have to be changed. I've changed my 'click2dial' extensions, from a rather custom one to: https://addons.mozilla.org/it/firefox/addon/asterisk-click2dial/ extension