Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

User.js - hardening of privacy and security

  • 7 trả lời
  • 0 gặp vấn đề này
  • 13 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

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

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

Tất cả các câu trả lời (7)

more options

You can search for preferences on searchfox. org

more options

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?

Được chỉnh sửa bởi stopper11 vào

more options

Changing the default search engine programmatically is intentionally difficult to avoid abuse. Enterprise policies only allows this for ESR versions.

more options

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?

more options

You can change the default search engine in Settings > Search.

https://support.mozilla.org/en-US/kb/change-your-default-search-settings-firefox

more options

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

more options

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: