Browsers

Firefox

This should work for any Firefox based browser.

Location Services

Mozilla Location Services is dead, alternatively one can use BeaconDB.

  1. open about:config
  2. set geo.provider.network.url to https://beacondb.net/v1/geolocate

{{< details summary=“Librewolf” >}} This is done by default on Librewolf now, not sure about Firefox. {{< /details >}}

Remove Annoying Tooltips

  1. Allow userChrome.css customizations in settings
  2. In userChrome.css:
    /* .librewolf/(default_profile)/chrome/userChrome.css */
    tooltip { display: none !important; }
    

Configuration

These are split because I use Librewolf and have a configuration file from global overrrides in ~/.librewolf/librewolf.overrides.cfg and then a user.js inside my personal profile.

Librewolf Overrrides:

// Strict cross origin policy (it breaks some links)
defaultPref("network.http.referer.XOriginPolicy", 2);

// Set homepage to blank page
defaultPref(
    "browser.startup.homepage",
    "chrome://browser/content/blanktab.html"
);

// Don't split search providers
defaultPref("browser.search.separatePrivateDefault", false);

// Dom't translate spanish
defaultPref("browser.translations.neverTranslateLanguages", "es");

// Enable profiles (the ones that actually appear in the garphical settings)
defaultPref("browser.profiles.enabled", true);

// Fullscreen notice
defaultPref("full-screen-api.transition-duration.enter", "0 0");
defaultPref("full-screen-api.transition-duration.leave", "0 0");
defaultPref("full-screen-api.warning.timeout", 0);

// Narrow add scrollbars piss me off
defaultPref("widget.non-native-theme.enabled", true);
defaultPref("widget.non-native-theme.scrollbar.size.override", 20);

// Disable forced light theme
user_pref("privacy.resistFingerprinting", false);
defaultPref("privacy.fingerprintingProtection", true);
defaultPref(
  "privacy.fingerprintingProtection.overrides",
  "+AllTargets,-CSSPrefersColorScheme"
);

Personal Profile:

// Enable vertical tabs
user_pref("sidebar.verticalTabs", true);

// Disable the "inertia" when scrolling with the touchpad
user_pref("apz.gtk.kinetic_scroll.enabled", false);

// Disable suggestions
user_pref("browser.urlbar.suggest.openpage", false);
user_pref("browser.urlbar.suggest.quickactions", false);
user_pref("browser.urlbar.suggest.recentsearches", false);
user_pref("browser.urlbar.showSearchSuggestionsFirst", false);

// Disable tab previews
user_pref("browser.tab.hoverPreview.enabled", false);
user_pref("browser.tab.hoverPreview.showThumbnails", false);

Extensions

Chrome

CSS

This fixes Chrome annoying ass layout shift whenever the scrollbars appears disappears:

html { scrollbar-gutter: stable; }