Comment 118 for bug 233901

Revision history for this message
In , Jehan-procaccia (jehan-procaccia) wrote :

Apparently defaultPref works fine for other prefs, at least I use it
successfully with that:
defaultPref("signon.rememberSignons", false);

 bug 264680 talks about an error generated, I don't have error, the problem is
that when I use defaultpref("browser.startup.homepage","http://www.int-evry.fr/");
when users start mozilla, there's no startup homepage at all :-(.

But perhaps I missuse that preference ?
I see the existance of
("browser.startup.homepage_override", true);
("startup.homepage_override_url", "http://www.int-evry.fr/");
Should I defaultPref those too as well ? (I think I already tested that before
with no success ...)

I just want to set a default homepage with autoconfiguration, and let users
change it if they wish .