summaryrefslogtreecommitdiff
path: root/modules/desktop/firefox/extraPrefs.nix
blob: 74db9840305333813110a63b0b193c33d19e77b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# extra preferences that cannot be
# set normally but have to instead
# set in mosilla.cfg
''  //

  // Automatically click cookiebanners although uBlock Origin might block them
  lockPref("cookiebanners.bannerClicking.enabled", true);
  lockPref("cookiebanners.service.mode", 2);
  lockPref("cookiebanners.service.mode.privateBrowsing", 2);

  // DNT although PrivacyBadger from policy handles this
  lockPref("privacy.donottrackheader.enabled", true);
  lockPref("privacy.donottrackheader.value", 1);

  // New sidebar
  lockPref("sidebar.revamp", true);
  lockPref("sidebar.verticalTabs", true);
  lockPref("sidebar.visibility", "always-show");
  lockPref("sidebar.main.tools", "history,bookmarks");

  //''