ProfilesIni profile = new ProfilesIni(); FirefoxProfile ffprofile = profile.getProfile(\"default\");//using firefox default profile ffprofile.setPreference(\"permiss
Run the firefox from command line firefox.exe -p
After that create a new profile, set the neccessery settings and always call this profile.
FirefoxProfile ffprofile = profile.getProfile("profileName");