This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Specific line under about:config

  • 6 iimpendulo
  • 1 inayo le ngxaki
  • 5 views
  • Impendulo yokugqibela ngu sh2dc

more options

Hi there My question is How can I find " web browser ask share location permission block " under about:config ? I know We can set manual under option-private-permission-location-block all website.. May I ask is there a quickly edit under about:config?

Hi there My question is How can I find " web browser ask share location permission block " under about:config ? I know We can set manual under option-private-permission-location-block all website.. May I ask is there a quickly edit under about:config?

All Replies (6)

more options

Need set them under about:config.. I need fine which line for those setting. Thanks.

more options

I also need find about:config line for "do not track" And "content blocking to strict"

Thank you.

more options

IMPORTANT: Preference names and values vary between Firefox versions. Always check/test against the versions you ard managing.

I suggest this approach to your research, and assume you will be using Windows:

(A) Create a new Firefox profile, and archive the prefs.js file as your baseline (B) Customize Firefox interactively (C) Compare the modified preferences in prefs.js with the baseline

What did you find?

For Step (A):

Create and Start Firefox in New Profile

Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it.

Click the Create a New Profile button, then click Next. Assign a name like March2019, ignore the option to relocate the profile folder, and click the Finish button.

After creating the profile, scroll down to it and click the Set as default profile button below that profile, then scroll back up and click the Restart normally button. (There are some other buttons, but please ignore them.)

Firefox should exit and then start up using the new profile, which will just look brand new. Please ignore any tabs enticing you to connect to a Sync account or to activate extensions found on your system so we can get a clean test.

Archive prefs.js

Let Firefox run for a few minutes, then exit Firefox and restart it. Let Firefox run for a few more minutes, then:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows/File Explorer.

Find the prefs.js file and back it up to a save location, e.g., as prefs-default.js. If your Windows doesn't show the .js extension, see: https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/

Switch back to Firefox and make the customizations you want to know about. Allow 30 seconds after the last change and then exit Firefox.

Compare the modified prefs.js in the profile folder with the prefs-default.js file you saved earlier.

You can use a similar methodology for other changes. However, individual site exceptions are stored in a database and not in prefs.js.

Return to Regular Profile

When you are done with your research, open the about:profiles page again, click the Set as default profile button for your normal profile, then click the Restart normally button to get back to it.

more options

There are "permissions.default." prefs (0/1) for these settings.

  • permissions.default.geo = 0

Settings for "Tools -> Page Info -> Permissions" uses these values:

[1]: ALLOW
[2]: BLOCK
[3]: PROMPT

Making changes to Content Blocking settings can affect more than one pref and should be done with caution to prevent breaking this feature.

  • network.cookie
  • privacy.donottrackheader.enabled
more options

jscher2000 said

IMPORTANT: Preference names and values vary between Firefox versions. Always check/test against the versions you ard managing. I suggest this approach to your research, and assume you will be using Windows: (A) Create a new Firefox profile, and archive the prefs.js file as your baseline (B) Customize Firefox interactively (C) Compare the modified preferences in prefs.js with the baseline What did you find? For Step (A): Create and Start Firefox in New Profile Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it. Click the Create a New Profile button, then click Next. Assign a name like March2019, ignore the option to relocate the profile folder, and click the Finish button. After creating the profile, scroll down to it and click the Set as default profile button below that profile, then scroll back up and click the Restart normally button. (There are some other buttons, but please ignore them.) Firefox should exit and then start up using the new profile, which will just look brand new. Please ignore any tabs enticing you to connect to a Sync account or to activate extensions found on your system so we can get a clean test. Archive prefs.js Let Firefox run for a few minutes, then exit Firefox and restart it. Let Firefox run for a few more minutes, then: Open your current Firefox settings (AKA Firefox profile) folder using either
  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter
In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows/File Explorer. Find the prefs.js file and back it up to a save location, e.g., as prefs-default.js. If your Windows doesn't show the .js extension, see: https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/ Switch back to Firefox and make the customizations you want to know about. Allow 30 seconds after the last change and then exit Firefox. Compare the modified prefs.js in the profile folder with the prefs-default.js file you saved earlier. You can use a similar methodology for other changes. However, individual site exceptions are stored in a database and not in prefs.js. Return to Regular Profile When you are done with your research, open the about:profiles page again, click the Set as default profile button for your normal profile, then click the Restart normally button to get back to it.

Thank you sir. really appreciate it.

more options

cor-el said

There are "permissions.default." prefs (0/1) for these settings.
  • permissions.default.geo = 0
Settings for "Tools -> Page Info -> Permissions" uses these values: [1]: ALLOW [2]: BLOCK [3]: PROMPT

Making changes to Content Blocking settings can affect more than one pref and should be done with caution to prevent breaking this feature.

  • network.cookie
  • privacy.donottrackheader.enabled


network.cookie.cookieBehavior = 4 privacy.donottrackheader.enabled = true permissions.default.geo = 2

All solved now Really appreciate it sir!