Skip to content

Commit

Permalink
Add Firefox udpates
Browse files Browse the repository at this point in the history
  • Loading branch information
libraryax committed Nov 16, 2018
1 parent abcbebc commit e2d86b6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions hide-quantum.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/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
4 changes: 4 additions & 0 deletions userChrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#TabsToolbar { visibility: collapse !important; }
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
display: none;
}

0 comments on commit e2d86b6

Please sign in to comment.