User.js - hardening of privacy and security
HI all! Hope you all are doing well.
I am using user.js file to harden my Firefox to the best possible way. I have few question about that process.
1. Where i can find the complete list of all active user_pref settings? All of the options i have to edit them. like user_pref("security.sandbox.content.level", 6); - now i have 6 by default but what is the range?
2. Is there any tool i can use to update my list with the latest entries, and to remove the obsolete entries?
3. Sandbox - what are the best possible ranges and settings for the below entries?
ser_pref("security.sandbox.socket.win32k-disable", true); user_pref("security.sandbox.content.level", 6); user_pref("security.sandbox.content.shadow-stack.enabled", true); user_pref("security.sandbox.gmp.win32k-disable", true); user_pref("security.sandbox.gpu.shadow-stack.enabled", true); user_pref("security.sandbox.gpu.level", 2);
Thanks well in advance! Firefox 116.0.3
Toutes les réponses (7)
You can search for preferences on searchfox. org
Thanks i will check it out - to assume if i am search for "security.sandbox.content.level", 6); and there is like level 7 in the code - it will be described so i can understand what is it etc.?
i am not able to make browser.search.defaultenginename - to switch to DuckDuckGo...
any ideas what would work with user.js?
Modifié le
Changing the default search engine programmatically is intentionally difficult to avoid abuse. Enterprise policies only allows this for ESR versions.
Can you please clarify - what abuse means?! I dont want to use google and that is shoveled into my face. I would like to switch to DuckDuckGo lets say? How is that abuse?
You can change the default search engine in Settings > Search.
https://support.mozilla.org/en-US/kb/change-your-default-search-settings-firefox
Ye sure thanks, i am kind of aware, really not helpful... "i am not able to make browser.search.defaultenginename - to switch to DuckDuckGo...
any ideas what would work with user.js?"
I need a solution that works only with user.js. Thanks
Like written above, you can't set/change the default search engine via a pref as this was abused by malware in the past. Changing the default search engine can only be done via advanced JavaScript or via a policy if you use a Firefox ESR version. See SearchEngines: