Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

On OS X, from the terminal, how do i set allow and remember flash for specific sites.

  • 1 réponse
  • 2 ont ce problème
  • 2 vues
  • Dernière réponse par cor-el

more options

After I mass update my computer labs, the allow and remember settings get reset for websites which I need flash to run. (about 40 computers per lab). I'm updating flash and firefox using Apple Remote Desktop.

What terminal command, or configuration file can I push out on El Cap to keep this setting?

After I mass update my computer labs, the allow and remember settings get reset for websites which I need flash to run. (about 40 computers per lab). I'm updating flash and firefox using Apple Remote Desktop. What terminal command, or configuration file can I push out on El Cap to keep this setting?

Toutes les réponses (1)

more options

That is not possible AFAIK.

Such site specific settings are stored in the permissions.sqlite database. You can check this database with an SQL viewing application to see how this works because current Firefox releases no longer support Legacy extensions like SQLite Manager to inspect SQLite database files.

Easiest would be to set Flash to always activate (plugin.state.flash = 2) via the mozilla.cfg file via pref() or lockPref().

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

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

The mozilla.cfg file needs to be in the main Firefox program folder.

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

This requires a local-settings.js file in the "defaults/pref" folder where the channel-prefs.js file is located that specifies to use mozilla.cfg.

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

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also: