Re: about:config



El mar, 02-01-2007 a las 01:45 +0100, chpe escribi� Hi,
> 
> Le mardi 02 janvier 2007 �0:47 +0100, Jaime Frutos Morales a �it :
> > Is there any way to add/change values to about:config from out of the
> > about:config page? I mean, using an extension or from the command line.
> 
> You can add a user-prefs.js file in ~/.gnome2/epiphany/mozilla/epiphany
> which will be read at startup and inserted into the prefs (you can
> delete it afterwards).
> 
> >From code, there's nsIPrefBranch which you can use in an extension
> written in C/C++; that's not exposed to python though.
> 
> Regards,
> 	Christian
> 

I've tried with:

user_pref("network.protocol-handler.external.ed2k", "/usr/bin/ed2k");

in user-prefs.js in ~/.gnome2/epiphany/mozilla/epiphany and it doesn't
works (it doesn't let me neither create new preferences nor modify
existing ones). I'm using epiphany 2.16.1




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]