Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Modify about:config and allow pop ups for multiple systems

  • 1 отговор
  • 3 имат този проблем
  • 3 изгледи
  • Последен отговор от cor-el

more options

What I need to accomplish: security.mixed_content.block_active_content = False Allow all pop-ups from salesforce.com

I need to do this for 70 computers within my domain.

To modify about:config, I've tried editing user.js (I had to create the user.js file as it did not exist in my profile folder) using the batch file below.

Batch File to edit user.js cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default" echo user_pref("security.mixed_content.block_active_content", "false");>>user.js


I've read that the permissions.sqlite file can be edited to allow the pop ups, is there a way for me to edit that from a batch file?

Are these modifications possible without having to visit each user?

What I need to accomplish: security.mixed_content.block_active_content = False Allow all pop-ups from salesforce.com I need to do this for 70 computers within my domain. To modify about:config, I've tried editing user.js (I had to create the user.js file as it did not exist in my profile folder) using the batch file below. Batch File to edit user.js cd /D "%APPDATA%\Mozilla\Firefox\Profiles\*.default" echo user_pref("security.mixed_content.block_active_content", "false");>>user.js I've read that the permissions.sqlite file can be edited to allow the pop ups, is there a way for me to edit that from a batch file? Are these modifications possible without having to visit each user?

Променено на от indyitguy

Всички отговори (1)

more options

You can also use a mozilla.cfg file in the Firefox program folder to specify new (default) values for refs.

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");

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

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

See also:


I don't know of a way to easily modify the permissions.sqlite file to add an allow pop-up exception.
You would need an SQLite manager program that accepts command line input to add such a record.
The main problem would be to get the ID value to be used.

  • INSERT INTO "moz_hosts" VALUES ("<id>","www.salesforce.com","popup","1","0","0","0","0");