Firefox settings

This commit is contained in:
Daniel Langbein 2023-09-12 14:50:43 +02:00
parent 60b9ae513d
commit a24d970ba1
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 58 additions and 4 deletions

View File

@ -17,7 +17,59 @@
enable = true; enable = true;
profiles.default = { profiles.default = {
isDefault = true; isDefault = true;
settings = {}; # https://wiki.archlinux.org/title/Firefox/Privacy
settings = {
# Don't execute JavaScript from PDF files.
"pdfjs.enableScripting" = false;
# "Do Not Track" header.
"privacy.donottrackheader.enabled" = true;
# HTTPS-only mode in all windows.
# https://www.privacy-handbuch.de/handbuch_21l.htm
"dom.security.https_only_mode" = true;
# Don't ask to save passwords/logins.
"signon.rememberSignons" = false;
# https://wiki.archlinux.org/title/Firefox/Privacy#Tracking_protection
"privacy.trackingprotection.enabled" = true;
#"privacy.trackingprotection.emailtracking.enabled" = true;
#"privacy.trackingprotection.socialtracking.enabled" = true;
# https://wiki.archlinux.org/title/Firefox/Privacy#Anti-fingerprinting
"privacy.resistFingerprinting" = true;
# https://wiki.archlinux.org/title/Firefox/Privacy#First_party_isolation
"privacy.firstparty.isolate" = true;
# https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks
# The attribute would be useful for letting websites track visitors clicks.
"browser.send_pings" = false;
# https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks
# Disable preloading of autocomplete URLs.
# Firefox preloads URLs that autocomplete when a user types into the address bar,
# which is a concern if URLs are suggested that the user does not want to connect to.
"browser.urlbar.speculativeConnect.enabled" = false;
# https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks
# Website owners can track the battery status of your device.
"dom.battery.enabled" = false;
# https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks
# Disable that websites can get notifications if you copy, paste, or cut something from a web page,
# and it lets them know which part of the page had been selected.
"dom.event.clipboardevents.enabled" = false;
# https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks
# Only accept from the originating site (block third party cookies)
"network.cookie.cookieBehavior" = 1;
# DNS-over-HTTPS
# https://www.privacy-handbuch.de/handbuch_21w.htm
"network.trr.mode" = 3;
"network.trr.uri" = "https://doh.ffmuc.net/dns-query";
# Don't automatically save PDF files in ~/Downloads/
"browser.download.start_downloads_in_tmp_dir" = true;
};
search.default = "Startpage"; search.default = "Startpage";
search.engines = { search.engines = {

View File

@ -40,18 +40,20 @@
#userContent = ""; #userContent = "";
withExternalGnupg = true; withExternalGnupg = true;
settings = { settings = {
"mail.spellcheck.inline" = false;
# Don't execute JavaScript from PDF files. # Don't execute JavaScript from PDF files.
"pdfjs.enableScripting" = false; "pdfjs.enableScripting" = false;
# Use Paragraph format instead of Body Text by default = false
"mail.compose.default_to_paragraph" = false;
"privacy.donottrackheader.enabled" = true; "privacy.donottrackheader.enabled" = true;
# 1: Allow cookies from originating server only # 1: Allow cookies from originating server only
# https://kb.mozillazine.org/Network.cookie.cookieBehavior # https://kb.mozillazine.org/Network.cookie.cookieBehavior
"network.cookie.cookieBehavior" = 1; "network.cookie.cookieBehavior" = 1;
# 2: Accept for session only # 2: Accept for session only
# https://kb.mozillazine.org/Network.cookie.lifetimePolicy # https://kb.mozillazine.org/Network.cookie.lifetimePolicy
"network.cookie.lifetimePolicy" = 2; "network.cookie.lifetimePolicy" = 2;
"mail.spellcheck.inline" = false;
# Use Paragraph format instead of Body Text by default = false
"mail.compose.default_to_paragraph" = false;
# When new messages arrive: Show an alert = false # When new messages arrive: Show an alert = false
"mail.biff.show_alert" = false; "mail.biff.show_alert" = false;
# When new messages arrive: Play a sound = false # When new messages arrive: Play a sound = false