Librewolf & Firefox

Userchrome

Finding Selectors for userchrome customization

  • https://gist.github.com/gmolveau/a802ded1320a7591a289fb7abd0d6c45

Fix White Flash with userchrome

  • No longer necessary on latest firefox versions
    • https://gist.github.com/gmolveau/a802ded1320a7591a289fb7abd0d6c45
    • make sure to enable toolkit.legacyUserProfileCustomizations.stylesheets

Misc

KeePassXC Connection Fix

  • https://gitlab.com/librewolf-community/browser/linux/-/issues/242
# soft link the mozilla folder to librewolf to fix keepass
ln -s ~/.mozilla/native-messaging-hosts ~/.librewolf/native-messaging-hosts

Enable Firefox Sync on Librewolf

  • Enable firefox account through policies.json:
    • /usr/lib/firedragon/distribution/policies.json and set disablefirefoxaccounts to false.
    • https://www.reddit.com/r/LibreWolf/comments/nzsi8n/enabling_mozilla_sync/
    • Edit /usr/lib/firedragon/firedragon.cfg
    // change this for syncing to work
    lockPref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
    
    // uncomment this to be able to isntall addons: defaultPref("privacy.resistFingerprinting.block_mozAddonManager", true);
    
    // change from true to false to fix youtube bars
    defaultPref("privacy.resistFingerprinting", false);
    
    // Set custom DNS server for DOH 
    pref("network.trr.uri", "https://day2dayautomation.com");
    
    

if issue with session restore, see here:

  • https://www.reddit.com/r/LibreWolf/comments/qooi6v/restore_previous_session_is_not_working/hju9gje/

Current Open Tabs Firefox File

  • https://stackoverflow.com/questions/28995733/where-does-firefox-save-currently-open-tabs-on-disk

Addons Configuration

Temporary Containers

  • General Settings:
    • bcf65502fe6275d527d0df55e6c945d6.png
  • Advanced Settings:
    • f4412bfa48243c302b01402dbaa4a425.png
    • https://gitlab.com/librewolf-community/browser/linux/-/issues/229
      • 20240731_010644.png

Tree Style Tabs

  • Disable Trees

  • https://github.com/piroor/treestyletab bba5dc76d4eb2185ed6c6e15f3002b2c.png

  • Make New Tabs Open at Top of Tree next to parent 0704cb2c10370b40976aa5d732b519c8.png

  • Set shortcut for closing other tabs in about:addons

    • 6cc43280d8d656c1de730fcb5d3b29e9.png

Ublock Origin

  • Disable block request count in icon, enable cloud storage, enable advanced user ca4b706a98e975d1d268ae121402dc5f.png
  • Enable Annoyances Blocklists: 5b76fc5ab1ad3c6c8602ebe19ebfde04.png

Multi-Account Containers

e3f2533a770c57150a20950111eacbdc.png

Reference

  • https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox?redirectlocale=en-US&redirectslug=awesome-bar-search-firefox-bookmarks-history-tabs#w_changing-results-on-the-fly

Changing results on the fly

If you are looking for a specific type of result, like a bookmark or tag, you can speed up the process of finding it by typing in special characters after each search term in the address bar separated by spaces:

Add ^ to search for matches in your browsing history.
Add * to search for matches in your bookmarks.
Add + to search for matches in pages you've tagged.
Add % to search for matches in your currently open tabs.
Add # to search for matches in page titles.
Add $ to search for matches in web addresses (URLs).
Add ? to search for matches in suggestions. 

For example, if you’re looking for a page you bookmarked called Mozilla Firefox Support, you might type mozilla. The autocomplete results appear, but might not show the page you want.


Last updated on July 31, 2024. For any questions/feedback, email me at blog@zinchuk.xyz.