Compare commits

..

2 commits

3 changed files with 52 additions and 23 deletions

View file

@ -14,7 +14,7 @@
# Block Cookies
# Block 3rd-Party cookies or even all cookies.
"network.cookie.cookieBehavior" = 1;
"network.cookie.cookieBehavior" = 5;
# Block Referer
# Firefox tells a website, from which site you're coming (the so called RefControl
@ -81,7 +81,7 @@
# href="https://isc.sans.edu/forums/diary/Time+to+disable+WebGL/10867). WebGL is
# part of some fingerprinting scripts used in the wild. Some interactive websites
# will not work, which are mostly games.
"webgl.disabled" = true;
"webgl.disabled" = false;
# Override graphics card vendor and model strings in the WebGL API
# Websites can read the graphics card vendor and model using a WebGL API. This

View file

@ -7,20 +7,25 @@
"privacy.donottrackheader.value" = 1;
# Enable resistFingerprinting
# The <code>privacy.resistFingerprinting</code> setting coming from the
# tor-browser hides some system properties. See discussion in our bug tracker.
# (https://bugzilla.mozilla.org/show_bug.cgi?id=1308340">Bug #1308340</a> for more
# information. This option may interfere with other privacy related settings, see
# the <a
# href="https://github.com/allo-/firefox-profilemaker/issues/56#issuecomment-333397712)
"privacy.resistFingerprinting" = false;
# But override CSSPrefersColorScheme to actovate theme detection
# https://github.com/allo-/ffprofile/issues/56#issuecomment-2076293964
"privacy.fingerprintingProtection" = true;
"privacy.fingerprintingProtection.pbmode" = true;
# "privacy.fingerprintingProtection.letterboxing" = true;
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme";
"privacy.resistFingerprinting" = true;
"privacy.resistFingerprinting.pbmode" = true;
"privacy.resistFingerprinting.overrides" = "+AllTargets, -CSSPrefersColorScheme";
# "privacy.resistFingerprinting.letterboxing" = true;
"privacy.resistFingerprinting.block_mozAddonManager" = true;
"privacy.resistFingerprinting.randomDataOnCanvasExtract" = true;
# Enable Mozilla Trackingprotection
# Firefox has a builtin tracking protection
# (https://wiki.mozilla.org/Security/Tracking_protection), which blocks a list of
# known tracking sites.
"privacy.trackingprotection.pbmode.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.pbmode.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.cryptomining.enabled" = true;

View file

@ -64,6 +64,30 @@ in
};
};
};
xdg.configFile."tridactyl/tridactylrc".text = ''
sanitize tridactyllocal tridactylsync
" Define custom theme
set customthemes.custom #completions table, #tridactyl-input {font-size: .9rem!important;};
set theme custom
" Smooth scrolling
set smoothscroll true
" Ctrl-F should use the browser's native 'find' functionality.
unbind <C-f>
" But also support Tridactyl search too.
bind / fillcmdline find
bind ? fillcmdline find -?
bind n findnext 1
bind N findnext -1
" K and J should move between tabs.
bind J tabprev
bind K tabnext
" Binds for force reader mode
bind gfr reader
bind gfR reader --tab
set editorcmd foot -T "Edit text from Firefox" nvim %f
'';
programs.firefox = let
allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions;
in {