diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-03-02 13:44:06 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 11:59:31 +0200 |
commit | 4b769e3a6addf7e2dfaf0f2480a78ebec5746f26 (patch) | |
tree | a3a0d20969b114cf56fabaefb7f7f2420e376642 /README.md | |
parent | 7ccb879fb2f03be90b1e63f07e9d84a4daf8cb59 (diff) |
Try Firefox in a managed directory again
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 56 |
1 files changed, 3 insertions, 53 deletions
@@ -47,59 +47,9 @@ rest are even worse. ### Firefox (nightly) -The Firefox configuration files live in a random directory in -`$HOME/.mozilla/firefox`. - -#### `user.js` - -```js -// Settings changed after going through properties -user_pref("app.shield.optoutstudies.enabled", false); -user_pref("browser.ctrlTab.recentlyUsedOrder", false); -user_pref("browser.download.dir", "/home/tyil/downloads/firefox"); -user_pref("browser.download.folderList", 2); -user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); -user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); -user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); -user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); -user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); -user_pref("browser.newtabpage.activity-stream.showSearch", false); -user_pref("browser.newtabpage.enabled", false); -user_pref("browser.search.hiddenOneOffs", "Google,Bing,Amazon.com,eBay,Twitter"); -user_pref("browser.search.suggest.enabled", false); -user_pref("browser.startup.homepage", "https://searx.tyil.nl"); -user_pref("browser.startup.page", 3); -user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); -user_pref("general.smoothScroll", false); -user_pref("privacy.donottrackheader.enabled", true); -user_pref("network.trr.mode", 5); - -// Make Firefox load userChrome.css again... -user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); -``` - -#### `chrome/userChrome.css` - -```css -/* Hide default tab bar */ -#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { - opacity: 0; - pointer-events: none; -} -#main-window:not([tabsintitlebar="true"]) #TabsToolbar { - visibility: collapse !important; -} - -/* Hide header of sidebar */ -#sidebar-header { - display: none; -} - -/* Make unread tabs italic */ -tab-item.unread .label-content { - font-style: italic; -} -``` +Start Firefox with `-p` first, create a new profile and set the directory to +`~/.config/firefox`. This *should* be enough for the configuration files, +however, addons still need to be managed by hand. #### Addons |