Specific line 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?
Alle antwurden (6)
Need set them under about:config.. I need fine which line for those setting. Thanks.
I also need find about:config line for "do not track" And "content blocking to strict"
Thank you.
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.
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
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 eitherIn 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.
- "3-bar" menu button > "?" Help > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
Thank you sir. really appreciate it.
cor-el said
There are "permissions.default." prefs (0/1) for these settings.Settings for "Tools -> Page Info -> Permissions" uses these values: [1]: ALLOW [2]: BLOCK [3]: PROMPT
- permissions.default.geo = 0
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!