Skip to content

Commit e2d86b6

Browse files
committed
Add Firefox udpates
1 parent abcbebc commit e2d86b6

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

hide-quantum.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
#
3+
# 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]]
4+
# 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.
5+
# Resolve that by right-clicking the toolbar, then inserting three Flexible Space into the toolbar on the far-left-hand side.
6+
case $( uname ) in
7+
"Linux")
8+
profile_dir=~/.mozilla/firefox/$( ls -tr ~/.mozilla/firefox/ | grep -v profiles.ini | tail -1 )
9+
;;
10+
"Darwin")
11+
profile_dir=~/Library/Application\ Support/Firefox/Profiles/$( ls -tr ~/Library/Application\ Support/Firefox/Profiles | tail -1 )
12+
;;
13+
esac
14+
if [ ! -d "${profile_dir}"/chrome ] ; then
15+
mkdir -p "${profile_dir}"/chrome
16+
fi
17+
echo '#TabsToolbar { visibility: collapse !important; }' >> "${profile_dir}"/chrome/userChrome.css

userChrome.css

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#TabsToolbar { visibility: collapse !important; }
2+
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
3+
display: none;
4+
}

0 commit comments

Comments
 (0)