Firefox about: configuration settings in a SWT browser

The application that I am currently using uses the SWT tool browser widget to display the Firefox / XULRunner browser. I would like to set user agent data in Firefox about configuration settings; How to change them when working with SWT browsers?

+4
source share
1 answer

I really don't work with a SWT browser, but http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg06747.html seems to indicate that at least it was approximately: config in the SWT browser. Have you tried What happened?

Also, the SWT browser should have a profile with the name "eclipse" by default (it seems to be located in C:\Documents and Settings\<user name>\Application Data\Mozilla\eclipse\ , see mozilla support for more about profiles.

You should be able to edit prefs.js there to set your preferences.

0
source

Source: https://habr.com/ru/post/1382373/


All Articles