A Mac browser that lives in the menu bar, with no Dock icon
macOS won't take a running app's icon out of the Dock for you. The app has to be built to live in the menu bar instead. For your browser, that's what CloakPane's Hide from Dock setting does. With CloakPane Pro, it drops the Dock icon, leaves the ⌘-Tab switcher, sits in the menu bar, and comes up from any app when you press ⌥⌘P.
What Hide from Dock changes
Three things move. CloakPane's icon leaves the Dock. It stops appearing when you press ⌘-Tab. And a small icon shows up in the menu bar, which becomes one of your two ways in. The other is ⌥⌘P, which shows or hides the window from whatever app you're using.
Everything else is still a full browser: tabs, bookmark folders, history, downloads, profiles, ad and tracker blocking. Hiding the window doesn't close anything, so your tabs are where you left them the next time you press the shortcut. CloakPane also keeps running the whole time. It's listed in Activity Monitor like any other app.
Why run a browser from the menu bar
Mostly for quick lookups. You're writing in another app and need to check one thing. Press ⌥⌘P, read the page, press it again, and you're back in your sentence. It feels less like switching apps and more like flipping open a notepad.
It also tidies your screen when other people are looking at it. In a whole-screen share or a tutorial recording, the Dock is part of the picture, and one less icon there is one less thing to distract from what you're showing. With Pro, CloakPane's windows don't appear in screen shares or recordings either, so your notes can stay open beside your slides (more in seeing your notes while presenting).
And a shorter ⌘-Tab list helps if you tend to tab into the browser out of habit when you meant to stay in your editor.
The shortcuts that go with it
With no Dock icon, the keyboard is the quickest way back to your window, so try these a few times before you need them.
| What it does | Shortcut | Where it comes from |
|---|---|---|
| Show or hide CloakPane from any app (Hide from Dock) | ⌥⌘P | CloakPane Pro |
| Hide CloakPane instantly (Panic Hide) | ⌘⇧H | CloakPane, free |
| Show or hide the whole Dock | ⌥⌘D | Built into macOS |
| Hide the front app's windows | ⌘H | Built into macOS |
Panic Hide works with or without Hide from Dock, and it doesn't close any tabs. If you also use the Touch ID lock (Pro), hiding CloakPane locks it, so it asks for Touch ID or your Mac password before the window comes back. See locking your browser with Touch ID.
One quirk on MacBooks with a notch: a crowded menu bar can push some icons out of sight behind it, CloakPane's included. ⌥⌘P still works when you can't see the icon.
What macOS can do on its own
If you just want a calmer Dock and don't need a new browser, macOS has a few switches in System Settings > Desktop & Dock (Apple's guide lists them all). Automatically hide and show the Dock slides it away until you point at that edge of the screen. Turning off Show suggested and recent apps in Dock stops extra icons from piling up. You can also drag apps you rarely use out of the Dock, and they stay installed.
⌘H hides an app's windows, but its icon stays in the Dock and in ⌘-Tab. Some guides suggest editing an app's files so it runs without a Dock icon. I wouldn't. Changing a signed app's files breaks its code signature, which can stop it opening or updating properly.
Questions
How do I hide an app from the Dock on a Mac?
How do I remove an app from ⌘-Tab on a Mac?
Does Hide from Dock close CloakPane?
Keep a private browser out of every screen share
CloakPane is a free Mac browser. With CloakPane Pro, its windows are left out of screen sharing, screenshots and recordings, so your bank, passwords or notes can stay open while you present. Pro is $2.99/month or $24.99/year with a 3-day free trial, or $59.99 once.
How to lock your browser with Touch ID on a Mac
How to hide desktop icons on a Mac before screen sharing
How to see your notes while presenting on a Mac
How to hide a window while screen sharing on a Mac