Skip to content

Firefox ESR compact CSS 2006-2025 (-55/30%↕️/↔️ 1/2/3 lines). AddressBar/findBar overlay. AddressBar row colors (bookmarks+opened tabs). Visited links color+some context menu entries. 🚫rounded/blurred/lagged("animated") Web+UI. Scrollbar (alwaysVisible/arrows/transparentSlider). 🔉instead of playing. 2x more pinned tabs (same↔️). about:config+AHK

Notifications You must be signed in to change notification settings

hornster02/Firefox-Three-Rows-Simple-Compact-Clean-CSS

Repository files navigation

Firefox 117+ is working again in Win7 https://github.com/i486/VxKex https://github.com/vxiiduu/VxKex
CSS Calendar - 140 Win11 (Jul 15, 2025)
📥 CSS (115 Win7)📥 CSS (132 Win11)📥 CSS (119 Win11)📥 CSS (109)📥 Themes📥 Autohotkey v1.1 ⬇️
android - 📥 desktop mode as default + fullscreen

F1 - Library window (History) CTRL+SHIFT+H
F2 - Find Previous (searchbar)
F3 - Find Next (searchbar) - works without script
Home - New Tab
END - Close Tab
PgUp - Go one Tab to Right
PgDn - Go one Tab to Left
INS - Focus Address bar
Del (hold) - copy URL. Activate bottom Notepad++, keywait CTRL+V and activate bottom Firefox is disabled

▶️To enable modified interface, you need "chrome" folder and "user.js" file (be careful with this file - it makes a "permanent" change to program settings = to undo changes, it is not enough to delete it, but you have to manually edit preferences in "about:config". The way to avoid this manual modification is to backup prefs.js file) copy into your Firefox profile (about:profiles). If you don't want to modify web content, just delete userContent.css file. If you want to return removed buttons/icons and some other small things, just delete upper "Delete me" part in userChrome.css file and all except first 5 lines in user.js file (CSS 132+ / ESR+)

Firefox installers can be extracted by WinRar/7-Zip and then used without installation. Profiles can be manually created and run via firefox.exe -p
or automatically created (if it doesn't already exist) and run via (example) firefox.exe -profile "a:\000"

Most of colors I've changed are pink (FF00A3 and E20074) and orange (FB7914) - they can be easily found/replaced. CSS files can be edited and tested even by your pet = data loaded from it are only temporary in RAM memory and after deleting files there is no trace of them in profile or Firefox itself

🚫disabling notifications and downloading updates - create updates file in C:\ProgramData\Mozilla or C:\ProgramData\MozillaXXX. Or deny access (NTFS Permissions Tools). However, these methods may cause a bug in Thunderbird (inability to open settings and browse emails)
🚫disabling compatibility check of profile - delete compatibility.ini file and create compatibility.ini folder. Profile may or may not be damaged, but its use will no longer be decided by someone else


To view images in full size (2560x1080) you can save page as Web page, complete (7MB)
nahled9


132 (2024) - 1-LINE - ↕️31px (72px taskbar, Win11) 150% system DPI. 1920x1080 132-31px

115-esr (2023-2025) - 1-LINE - ↕️33px (56px taskbar, Win7) 150% system DPI. 1920x1080 115-esr-1-line

132 (2024) - 2-LINE - ↕️64px 150% DPI 132-64px

132 (2024) - DEFAULT - ↕️85px 100% DPI 132-def-85px

119 (2023) - 3-LINE - 1080p ↕️132px - 18,5 + 5 tabs - 150% DPI 119 - CSS - 150% DPI

119 (2023) - DEFAULT - ↕️155px - 30 tabs - 100% DPI 119 - default - 100% DPI

119 (2023) - DEFAULT - ↕️231px - 15,5 + 5 tabs - 150% DPI 119 - DEF - 150% DPI

119 (2023) - 3-LINE - ↕️65px - 19 + 3 tabs - 150% system DPI - "find in page" bar over address bar. In this case, the entire interface fits into default "find in page" bar ⬆️😁. Pressing CTRL+F (default hotkey for searching) overlays address bar, pressing ALT+D (default hotkey for focusing address bar) overlays find in page bar. Height of find in page bar should not exceed height of bar it overlays, otherwise page will jump a few pixels when opened. And overlay only works for first bar from bottom - trying to overlay bar above will just crop bottom part of UI and make page jump again. Example in image is only possible way to use it seamlessly (overlaying bookmarks or opened tabs doesn't make sense to me = unfortunately does not work in 2-LINE) 119 - CSS - 150% DPI4

/* IMPORTANT - find ".findbar-find-previous" (userChrome.css) and change "padding-left" number - example
.findbar-find-previous {padding-left: 213px!important;}
Works in FF 109/119 */
.browserContainer > findbar {-moz-box-ordinal-group: 0!important;order: -1 !important;}
.browserContainer > findbar {max-width: 700px!important;margin-top: -25px!important;} /* if web content jumps when pressing CTRL+F, the number needs to be adjusted */
.findbar-highlight, .findbar-case-sensitive, .findbar-match-diacritics, .findbar-entire-word {max-width: 10%!important;font-size: 10px !important;margin: 0px!important;margin-top: -2px!important;}
.findbar-find-status {max-width: 2000px!important;}
.findbar-label.findbar-find-status {margin-left: -100px!important;max-width: 20%!important;font-size: 10px !important;}
.findbar-find-status[status="notfound"] {margin-left: 0px!important;font-size: 13px !important;}
.findbar-container {scrollbar-width: none!important;}
.findbar-textbox {position: fixed!important;margin-top: -4px!important;} /* position of textbox */

119 (2023) - Pink - opened tabs, orange - bookmarks, without color - history. "width" (userChrome.css *06) and "browser.urlbar.maxRichResults" (about:config or user.js) - 150% DPI 119 - CSS-address bar - 150% DPI

119 (2023) - DEFAULT - opened tabs+bookmarks+history - 150% DPI 119 - CSS-address bar3 - 150% DPI

109 (2023) - 3-LINE - 150% system DPI Firefox (150% DPI) - compact default

109 (2023) - 2-LINE - folder+context menu - 150% DPI Firefox (150% DPI) - folder+context menu

109 (2023) - 2-LINE - places.xhtml. Dark space - The best dynamic theme - 150% DPI Firefox (150% DPI) - places xhtml

119 (2023) - 2-LINE - ↕️64px 150% DPI 119 - CSS-2-LINE - 150% DPI

119 (2023) - DEFAULT - ↕️85px 100% DPI 119 - DEF-2-LINE - 100% DPI

109 (2023) - 2-LINE - ↕️67px 150% DPI 109 - CSS - 150% DPI

109 (2023) - DEFAULT - ↕️85px 100% DPI 109 - DEF - 100% DPI

99 (2022) - 2-LINE ↕️64px - 33,5 opened tabs - smallest tab width (about:config "browser.tabs.tabMinWidth") - 150% DPI Firefox (150% DPI) - compact

99 (2022) - DEFAULT ↕️85px 30 opened tabs - 100% DPI 099 - DEFAULT - 100% DPI

89 (2021) - 2-LINE ↕️61px 150% DPI 089 - CSS - 150% DPI

89 (2021) - DEFAULT ↕️85px 100% DPI 089 - DEFAULT - 100% DPI

79 (2020) - 2-LINE ↕️61px 150% DPI 079 - CSS - 150% DPI

79 (2020) - DEFAULT ↕️74px 100% DPI 079 - DEFAULT - 100% DPI

69 (2019) - 2-LINE ↕️64px 150% DPI 069 - CSS - 150% DPI

69 (2019) - DEFAULT ↕️74px 100% DPI 069 - DEFAULT - 100% DPI

59 (2018) - 2-LINE ↕️65px - opening menu bar in FF59- through ALT+arrows - 150% DPI 059 - CSS2 - 150% DPI

59 (2018) - DEFAULT ↕️73px 100% DPI 059 - DEFAULT - 100% DPI

49 (2016) - 2-LINE ↕️68px 150% DPI 049 - CSS2 - 150% DPI

49 (2016) - DEFAULT ↕️71px 100% DPI Firefox 49 (100% DPI)-DEFAULT

39 (2015) - 2-LINE ↕️65px 150% DPI 039 - CSS2 - 150% DPI

39 (2015) - DEFAULT ↕️71px 100% DPI 039 (100% DPI)-DEFAULT

29 (2014) - 2-LINE ↕️64px 150% DPI 029 - CSS2 - 150% DPI

29 (2014) - DEFAULT ↕️71px 100% DPI 029 (100% DPI)-DEFAULT

19 (2013) - 2-LINE ↕️66px 150% DPI 019 - CSS3 - 150% DPI

19 (2013) - DEFAULT ↕️63px 100% DPI 019 (100% DPI)-DEFAULT

9 (2011) - 2-LINE ↕️64px 150% DPI 009 - CSS3 - 150% DPI

9 (2011) - DEFAULT ↕️64px 100% DPI 009 (100% DPI)-DEFAULT

3.5 (2009-2011) - 2-LINE ↕️67px - "find in page" bar overlays address bar - 150% DPI 003 - CSS - 150% DPI

3.5 (2009-2011) - DEFAULT ↕️169px 150% DPI 003-DEFAULT

2 (2006-2008) - 2-LINE ↕️65px 150% DPI 002 - CSS2 - 150% DPI

2 (2006-2008) - DEFAULT ↕️103px 100% DPI Firefox 002-DEFAULT

89 - Gen0 (2021-12) 150% DPI 0

99 - Gen0+ (2023-01) 150% DPI 0+

Customization (userChrome.css) Customization


Useful addons
Enhancer for YouTube https://addons.mozilla.org/en-US/firefox/addon/enhancer-for-youtube/
YouTube Ad Auto-skipper https://addons.mozilla.org/en-US/firefox/addon/youtube-ad-auto-skipper/
Hide YouTube Fullscreen Controls https://addons.mozilla.org/en-US/firefox/addon/hide-youtube-controls/
SaveFrom.net helper https://addons.mozilla.org/en-US/firefox/addon/savefromnet-helper/
I don't care about cookies https://addons.mozilla.org/en-US/firefox/addon/i-dont-care-about-cookies/
Disable HTML5 Autoplay https://addons.mozilla.org/en-US/firefox/addon/disable-autoplay/
Image Video Block https://addons.mozilla.org/en-US/firefox/addon/image-video-block/
Large Image Blocker https://addons.mozilla.org/en-US/firefox/addon/large-image-blocker/
Load Background Tabs Lazily https://addons.mozilla.org/en-US/firefox/addon/load-background-tabs-lazily/
Print Edit WE https://addons.mozilla.org/en-US/firefox/addon/print-edit-we/
Save Page WE https://addons.mozilla.org/en-US/firefox/addon/save-page-we/
Firefox Color https://addons.mozilla.org/en-US/firefox/addon/firefox-color/
User-Agent Switcher https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/


https://github.com/topics/firefox?l=css&o=desc&s=stars
https://github.com/search?q=firefox+language%3ACSS&type=repositories&l=CSS&s=stars&o=desc
https://firefoxcss-store.github.io/
https://www.reddit.com/r/FirefoxCSS/
https://www.userchrome.org/
about:about
about:downloads
chrome://browser/content/places/places.xhtml
https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html
https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly
https://www.mozilla.org/en-US/firefox/releases/
https://whattrainisitnow.com/calendar/
https://ftp.mozilla.org/pub/firefox/releases/
https://ftp.mozilla.org/pub/devedition/releases/
https://ftp.mozilla.org/pub/fenix/releases/
https://caniuse.com/
https://www.deviceinfo.me/
https://explore.whatismybrowser.com/useragents/explore/software_name/firefox/
https://html5test.com/
https://georgebastock.github.io/CSS-Animation-Test/
https://www.w3schools.com/css/css3_transitions.asp
https://www.w3schools.com/css/css3_shadows.asp


about:config

dpi
layout.css.devPixelsPerPx

turning off full screen warning
full-screen-api.warning.timeout;0

default zooming of PDF files
pdfjs.defaultZoomValue;page-width

find in page - colors
ui.textSelectBackgroundAttention
ui.textHighlightBackground
ui.textHighlightForeground

new tab - color
browser.display.background_color;#eeeeee

scrollbars
widget.non-native-theme.scrollbar.size
widget.non-native-theme.win.scrollbar.use-system-size
widget.non-native-theme.scrollbar.size.override
widget.disable-dark-scrollbar
widget.non-native-theme.win11.scrollbar.force-overlay-style
widget.windows.overlay-scrollbars.enabled

disabling tooltips when hovering over bookmarks
browser.chrome.toolbar_tips

disable animations (interface of program and website itself) - probably no need to be afraid of blindly toggling "animat" and "transition" preferences
browser.fullscreen.animate;false
browser.tabs.animate;false
image.animation_mode;none
ui.prefersReducedMotion;1
svg.disabled;true
full-screen-api.transition-duration.leave
full-screen-api.transition-duration.enter

a compact density option will be added to "customize toolbar" menu
browser.compactmode.show

set compact density immediately by number 1
browser.uidensity

disable graphical user interface "Proton"
browser.proton.enabled

address bar - number of items
browser.urlbar.maxRichResults

address bar - disable autoFill
browser.urlbar.autoFill;false

address bar - disable search engine
keyword.enabled;false

address bar - disable "Firefox suggest"
browser.urlbar.groupLabels.enabled;false

address bar - disable faded font
browser.urlbar.formatting.enabled;false

address bar - hide reader icon
reader.parse-on-load.enabled;false

tabs - disable previews when dragging
nglayout.enable_drag_images;false

tabs - minimum width
browser.tabs.tabMinWidth

tabs pinned - disable autoreload
browser.sessionstore.restore_pinned_tabs_on_demand

disable request to delete settings when browser is not started for a long time
browser.disableResetPrompt;true

disable query to enable DRM
browser.eme.ui.enabled;false

slow Firefox startup - turn off notifications
browser.slowStartup.notificationDisabled

do not turn off firefox when closing last tab
browser.tabs.closeWindowWithLastTab;false

open in tabs only
browser.link.open_newwindow.restriction;0

location query
geo.enabled

disable "insecure login" warning
security.insecure_field_warning.contextual.enabled;false

ctrl+shift+j
devtools.chrome.enabled;true

disable autoplay
media.autoplay.enabled;false
media.autoplay.allow-muted;false

disable enforcement of signing add-ons
xpinstall.signatures.required;false

disable blacklisting of add-ons
extensions.blocklist.enabled;false

not to allow arbitrary banning of add-ons
extensions.legacy.enabled;true

do not save list of currently opened tabs to disk = reduce writing to SSD
browser.sessionstore.resume_from_crash;false

do not create bookmarks backups
browser.bookmarks.max_backups;0

disabling automatic page refresh
accessibility.blockautorefresh;true

maximum cache size on SSD
browser.cache.disk.capacity

maximum size of cached file on SSD
browser.cache.disk.max_entry_size

cache isolation
browser.cache.cache_isolation;true

connection timeout
network.http.connection-timeout

firefox.exe - priority "normal"
dom.ipc.processPriorityManager.enabled;false

limiting number of firefox.exe processes
fission
dom.ipc.processCount

FPS limiter
layout.frame_rate

reduce "Page Referrer" (from which webpage link was opened)
network.http.referer.disallowCrossSiteRelaxingDefault, true

disable "Page Referrer". May broke some websites (steamdb.info)
network.http.sendRefererHeader, 0

pretending different FF version or OS - example
general.useragent.override, Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0/Yirxwl2yEK2v8lv4

show hidden addons in about:debugging
devtools.aboutdebugging.showHiddenAddons

disable PDF
pdfjs.disabled

acceleration, media support
layers.acceleration
dxva
media.hardware-video
media.wmf.dxva.d3d9.amd-pre-uvd4.disabled
ffvpx
opus
flac
ogg
wav
wmf
mp4
264
webm
vp9
av1

image blocker
permissions.default.image;2

may fix broken youtube
network.http.http3.enable;false

may fix non-functional addons
extensions.manifestV3.enabled; false


suggestions for improvements
-remove titles/checkboxes in "find in page" bar and replace them with buttons/icons
-show all downloads in pop-up window (with scrollbar) and get rid of "show all downloads" window
-renaming bookmarks directly (long/short right mouse click)
-tabs with play/pause button and hotkey (replace useless volume button)
-combine "Edit Folder/Bookmark" in context menu into a single entry at one specific position (properties in FF79-)
-popup status bar around mouse cursor
-add-ons in "Customize Toolbar" menu
-decrease mouse vert sensitivity when cursor approaches left/right sides of bookmarks (folders)
-custom colours of folders for quick orientation (bookmarks)
-javaScript CPU/GPU resource limiter (rotating ad can use entire CPU core regardless of its frequency)
-remove items from address bar (long/short right mouse click)
-in places.xhtml show paths to items (searching)
-custom tabs color (by domain)
-hide https://www. in address bar
-separate audio/video cache from normal cache. What's the point of current setup where important cache data is overwritten by useless video that also reduces SSD lifetime? Constantly modifying NTFS permissions for cache folder is not very comfortable...

-remove 3 dots+empty right space in bookmarks names (if are too long) + width limit - FF109+ (userChrome.css)

#PlacesToolbarItems > toolbarbutton > menupopup {max-width: 85%!important;}
toolbarbutton.bookmark-item > menupopup > menu > menupopup {max-width: 85%!important;}
:is(label, description)[value][crop]::before {text-overflow: unset!important;}
menuitem.bookmark-item > label {margin-right: -10%!important;}
.sidebar-placesTree {margin-right: -20px!important;}
toolbarbutton menupopup[placespopup] > :is(menu, menuitem) :is(.menu-text) {margin-top: 0 !important;margin-left: 0 !important;margin-bottom: 0 !important;}

-places.xhtml - horizontal bottom part - FF109+ (userContent.css)

/* places.xhtml */
#editBMPanel_namePicker {width: 40%!important;}
#editBMPanel_locationField {width: 60%!important;}
#detailsPane {margin-bottom: -162px!important;padding: 0px!important;background-color: #FB7914!important}
#editBookmarkPanelContent {display: flex!important;}
#placesToolbar {padding-top: 0px!important;padding-bottom: 0px!important;}
menupopup > menuitem,menupopup > menu {padding-block: unset!important;}
hbox.editBMPanel_tagsRow {display: none!important;}
label.editBMPanel_tagsRow {display: none!important;}
#tags-field-info {display: none!important;}
label.editBMPanel_keywordRow {display: none!important;}
#editBMPanel_keywordField {display: none!important;}
#keyword-field-info {display: none!important;}
label.editBMPanel_nameRow {display: none!important;}
label.editBMPanel_locationRow {display: none!important;}

About

Firefox ESR compact CSS 2006-2025 (-55/30%↕️/↔️ 1/2/3 lines). AddressBar/findBar overlay. AddressBar row colors (bookmarks+opened tabs). Visited links color+some context menu entries. 🚫rounded/blurred/lagged("animated") Web+UI. Scrollbar (alwaysVisible/arrows/transparentSlider). 🔉instead of playing. 2x more pinned tabs (same↔️). about:config+AHK

Topics

Resources

Stars

Watchers

Forks