Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

is there a way to tell firefox allow and remember the java plugin for all users via command line or script?

  • 5 antwoorde
  • 1 het hierdie probleem
  • 17 views
  • Laaste antwoord deur CLIVEBUCKWHEAT

more options

Hi

I have about 200 computers that i'd like to push the following setting to

allow and remember the java plugin for firefox for all users

is there a way to do this via a config file or script?

Hi I have about 200 computers that i'd like to push the following setting to allow and remember the java plugin for firefox for all users is there a way to do this via a config file or script?

Gekose oplossing

You need to create both files in the Firefox program folder.

  • local-settings.js file in the defaults\pref folder where you find channel-prefs.js
  • mozilla.cfg in the main Firefox program folder
Lees dié antwoord in konteks 👍 1

All Replies (5)

more options

Hi livebuckwheat, Please see: http://kb.mozillazine.org/Locking_preferences for more details.

more options

You can use this content in the mozilla.cfg file:

//
pref("plugin.state.java", 2);

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

more options

I do not see the mozilla.cfg file, where about is it located?

more options

Gekose oplossing

You need to create both files in the Firefox program folder.

  • local-settings.js file in the defaults\pref folder where you find channel-prefs.js
  • mozilla.cfg in the main Firefox program folder
more options

Thanks. I finally figured that out. You've been an amazing help.