Josh Thompson     about     archive     tags

Keyboard Shortcut to Toggle Bookmarks Bar in Firefox

A few weeks ago, after Firefox Quantum came out, I decided to give it a go.

Turns out, Firefox is great! It was a near-seamless transition, and Firefox has a much lower memory footprint, as well as features Chrome does not have, like Tracking Protection and Reader View

But something was bothering me to no end. I could not find a keyboard shortcut to toggle the visibility of the bookmarks toolbar.

I take a lot of screenshots throughout the day, and share them within my company. I don’t really want my bookmarks bar taking up space in the screenshot, but I do sometimes need it to find actual bookmarks.

In Chrome, Cmd-Shift-B toggles the bookmarks bar visibility. In Firefox, that combo shows your history.

The primary fix is to use the Mac operating system to set an App-specific keyboard shortcut. This is bananas, and I’ve never done it before.

Here’s how to do it:

Navigate to System Preferences > Keyboard. From the options on the top bar (Keyboard, Text, Shortcuts, etc) select Shortcuts.

In the left-hand sidebar, choose App Shortcuts.

find the app shortcut screen

Hit the + icon to add a new shortcut, and select from the list of applications.

Enter this string exactly where in the Menu Title box:

View->Toolbars->Bookmarks Toolbar

add the shortcut

I used Cmd-Shift-Y as my shortcut - it took a few attempts to find something that didn’t conflict with existing OS/Firefox shortcuts.

(And yes, I tried to unmap Cmd-Shift-B, to free it up for this shortcut, and could not. If you figure out how, please let me know.)

The result

toggle away, friend

Firefox’s Gotcha

Sometimes the keyboard shortcut doesn’t work. It seems like Firefox “forgets” what it’s supposed to do.

If that happens, I’m able to set things back as they should be by toggling the bookmarks bar manually, once, and then the shortcut works again.

(This setting lives in View > Toolbars > Bookmarks Toolbar)

Additional Reading/Useful resources

Get occasional emails

If I've written any new posts, you'll get an email with summaries on Friday. If I've not, you'll not hear from me.