jrb

jeudi 9 juillet 2020

Privacy oriented Firefox set-up

As of 2022, this is not the set-up I'm using anymore. I've moved to an hybrid solution, where I'm switching between Safari and Chrome on a daily basis depeding what work needs to be done.

Since the end of uBlock Origin on Safari, I've been using Firefox as my main browser. Here's how I'm setting it up so it's nice and fast.

MaterialFox theme

Inspired by Google's Material Design and their latest Google Chrome UI, this theme turns your Firefox into a Material-styled web browser. The aim was to style the browser as closely as possible to the latest Google Chrome dev builds, where practical.

This type of theme is installed by adding a userChrome.css file to your Firefox profile folder. The project is actively updated on Github. You can follow the recommended instructions to replicate even more the Chrome behavior. The releases version numbers are following the Firefox releases; use the one for your Firefox version.

Search engines

I'm running a Whoogle instance on Heroku. To set it up as a search engine in Firefox, you only need to visit your Whoogle URL and then click "Add Search Engine" (the three dots button in the URL bar). You can then select Whoogle in the Firefox settings.

Since Whoogle replace Google, you can unselect Google as one of the alternate search engines. I still keep DuckDuckGo and Wikipeadia.

Extensions

about:config modifications

I've been adjusting a couple of settings in about:config:

Disabling animations

cosmeticAnimations to false
full-screen-api.transition-duration.enter to 0
full-screen-api.transition-duration.leave to 0

Disabling Pocket

extensions.pocket.enabled to false

Privacy[1]

geo.enabled to false
privacy.firstparty.isolate to true
privacy.resistFingerprinting to true
browser.cache.offline.enable to false
browser.urlbar.speculativeConnect.enabled to false
dom.battery.enabled to false
dom.event.clipboardevents.enabled to false
network.cookie.cookieBehavior to 1
network.cookie.lifetimePolicy to 2
network.http.referer.trimmingPolicy to 2
webgl.disabled to true

Random

general.smoothScroll.mouseWheel.durationMaxMS to 200[2]
security.insecure_connection_text.enabled to true
browser.aboutConfig.showWarning to false
browser.urlbar.trimURLs to false


  1. For details about each entry, see Firefox: Privacy Related "about:config" Tweaks. A lot more can be found on this list: About:config_Entries. ↩︎

  2. More details on Firefox scroll tweaks can be found here: Firefox Scroll Tweak ↩︎