Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to configure browser prefs for XULRunner 10.x?(What is the XULRunner 10.x equivalent of XULRunner 1.9.x / 2.x 's all.js / greprefs.js ?)
| | | |
Re: How to configure browser prefs for XULRunner 10.x? [message #930277 is a reply to message #929860] |
Tue, 02 October 2012 07:00 |
Stella Lok Messages: 10 Registered: September 2012 |
Junior Member |
|
|
Hi Grant,
Thanks a lot for your help! Inside C:\Users\<userName>\AppData\Roaming\Mozilla\eclipse, I see a prefs.js
Inside prefs.js, I see that there are some defaults already set, using the syntax user_pref(<key>, <value>), instead of the pref(<key>,<value>) syntax used in all.js / greprefs.js for XULRunner 1.9.x and 2.x.
I'd just like to verify if prefs.js is the right file to change, and that I should use the user_pref(<key>, <value>) syntax as well?
|
|
|
Re: How to configure browser prefs for XULRunner 10.x? [message #930659 is a reply to message #930277] |
Tue, 02 October 2012 14:16 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
That should be the correct file, and I would suggest following whatever
syntax is already there. To see it in action, launch your app, navigate
your XULRunner-based Browser to about:config, change a setting there,
exit your app, and then see what was written to the file.
Grant
On 10/2/2012 3:00 AM, Stella Lok wrote:
> Hi Grant,
>
> Thanks a lot for your help! Inside
> C:\Users\<userName>\AppData\Roaming\Mozilla\eclipse, I see a prefs.js
>
> Inside prefs.js, I see that there are some defaults already set, using
> the syntax user_pref(<key>, <value>), instead of the pref(<key>,<value>)
> syntax used in all.js / greprefs.js for XULRunner 1.9.x and 2.x.
> I'd just like to verify if prefs.js is the right file to change, and
> that I should use the user_pref(<key>, <value>) syntax as well?
|
|
| |
Goto Forum:
Current Time: Thu Sep 26 02:13:11 GMT 2024
Powered by FUDForum. Page generated in 0.04871 seconds
|