Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hide Firefox Quantum tab bar
#!/bin/bash
#
# Based upon [[https://superuser.com/questions/1268732/how-to-hide-tab-bar-tabstrip-in-firefox-57-quantum/1268734#1268734][How to hide tab bar (tabstrip) in Firefox 57+ Quantum]] by [[https://superuser.com/users/162466/vasyanovikov][VasyaNovikov]]
# This causes the [[https://support.mozilla.org/en-US/questions/1187186][The Back Button is top right under the Red close button on my Mac]] issue.
# Resolve that by right-clicking the toolbar, then inserting three Flexible Space into the toolbar on the far-left-hand side.
case $( uname ) in
"Linux")
profile_dir=~/.mozilla/firefox/$( ls -tr ~/.mozilla/firefox/ | grep -v profiles.ini | tail -1 )
;;
"Darwin")
profile_dir=~/Library/Application\ Support/Firefox/Profiles/$( ls -tr ~/Library/Application\ Support/Firefox/Profiles | tail -1 )
;;
esac
if [ ! -d "${profile_dir}"/chrome ] ; then
mkdir -p "${profile_dir}"/chrome
fi
echo '#TabsToolbar { visibility: collapse !important; }' >> "${profile_dir}"/chrome/userChrome.css
@didibus

This comment has been minimized.

Copy link

@didibus didibus commented Feb 27, 2018

Would be neat to have the corresponding undo script.

@jt3k

This comment has been minimized.

Copy link

@jt3k jt3k commented Sep 17, 2020

add undo-[script or functional] plz

@jt3k

This comment has been minimized.

Copy link

@jt3k jt3k commented Sep 17, 2020

does not work with Firefox 80.0.1 on Mac 10.15.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.