diff options
Diffstat (limited to 'home-manager/config/firefox/config/prefs/override.js')
-rw-r--r-- | home-manager/config/firefox/config/prefs/override.js | 57 |
1 files changed, 53 insertions, 4 deletions
diff --git a/home-manager/config/firefox/config/prefs/override.js b/home-manager/config/firefox/config/prefs/override.js index ca03e8ed..d2cd354f 100644 --- a/home-manager/config/firefox/config/prefs/override.js +++ b/home-manager/config/firefox/config/prefs/override.js @@ -31,7 +31,6 @@ // restore session user_pref("browser.startup.page", 3); // 0102 -user_pref("browser.startup.homepage", "file:///home/dt/home.html"); // 0103 user_pref("browser.newtabpage.enabled", true); // 0104 // disable the geoservice, TODO don't know if I want this @@ -65,6 +64,8 @@ user_pref("network.trr.mode", 3); // 0710 user_pref("keyword.enabled", true); // 801 user_pref("browser.search.suggest.enabled", true); // 0804 user_pref("browser.urlbar.suggest.searches", true); // 0804 +// TODO no idea what this does, enabling it +user_pref("browser.urlbar.showSearchTerms.enabled", true); // 9004 // prefetch urls, if the get auto completed user_pref("browser.urlbar.speculativeConnect.enabled", true); // 0805 @@ -99,7 +100,7 @@ user_pref("browser.download.alwaysOpenPanel", true); // 2652 // Block after custom ruleset user_pref("browser.contentblocking.category", "custom"); // 2701 -// set the custome settings // 7016 +// set the custom settings // 7016 user_pref("network.cookie.cookieBehavior", 1); user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true); user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); @@ -133,5 +134,53 @@ user_pref("signon.rememberSignons", false); // 5003 // Do not track header user_pref("privacy.donottrackheader.enabled", true); // 7015 -// TODO no idea what this does, enabling it -user_pref("browser.urlbar.showSearchTerms.enabled", true); // 9004 +// Allow my custom css +user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); + +// might improve performance TODO +user_pref("gfx.webrender.all", true); + +// disable updates (pretty pointless with nix) +user_pref("extensions.update.autoUpdateDefault", false); +user_pref("extensions.update.enabled", false); +user_pref("app.update.channel", "default"); + +user_pref("browser.ctrlTab.recentlyUsedOrder", false); + +user_pref("browser.download.useDownloadDir", true); +user_pref("browser.download.dir", "${config.home.homeDirectory}/media/downloads"); +user_pref("browser.download.folderList", 2); # TODO +user_pref("browser.download.viewableInternally.typeWasRegistered.svg", true); +user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true); +user_pref("browser.download.viewableInternally.typeWasRegistered.xml", true); + +// TODO what does this do? +user_pref("browser.search.widget.inNavBar", true); + +user_pref("browser.shell.checkDefaultBrowser", false); +user_pref("browser.tabs.loadInBackground", true); +user_pref("browser.urlbar.placeholderName", "Brave"); + +// Set the tabs and bookmarks +user_pref("browser.tabs.inTitlebar", 1); +user_pref("browser.toolbars.bookmarks.visibility", "always"); +user_pref("browser.places.importBookmarksHTML", true); + +// Theme +user_pref("extensions.activeThemeID", "firefox-alpenglow@mozilla.org"); +user_pref("extensions.extensions.activeThemeID", "firefox-alpenglow@mozilla.org"); + +// highlight all entries when searching +user_pref("findbar.highlightAll", true); + +// TODO +//user_pref("extensions.webcompat.enable_picture_in_picture_overrides", true); +//user_pref("extensions.webcompat.enable_shims", true); +//user_pref("extensions.webcompat.perform_injections", true); +//user_pref("extensions.webcompat.perform_ua_overrides", true); + +// onlykey / copied from a yubikey config +//user_pref("security.webauth.u2f", true); +//user_pref("security.webauth.webauthn", true); +//user_pref("security.webauth.webauthn_enable_softtoken", true); +//user_pref("security.webauth.webauthn_enable_usbtoken", true); |