knazarov.com/content/posts/firefox_without_menu_bar/note.md

27 lines
869 B
Markdown
Raw Permalink Normal View History

2021-11-08 23:21:24 +00:00
X-Date: 2021-10-24T11:01:54Z
X-Note-Id: b616a092-682c-467e-8e24-61a934a3ddc0
Subject: Firefox without menu bar and URL bar
X-Slug: firefox_without_menu_bar
Today I succeeded with removing all visual elements
from Firefox, except the actual content. This is a
bit like [surf](https://surf.suckless.org/), but with
a modern web engine.
As I said before, one of the things I dislike about
modern software is that it tries to manage its own
tabs. This creates a lot of problems for people like
me, who want to use tiling window managers, because every
single app has its own shortcuts to switch tabs. And if
you'd like to find a tab by name -- you're doomed.
Anyway, here's a piece of `userChrome.css`:
```
#TabsToolbar { visibility: collapse !important; }
#main-window:not([customizing]) #navigator-toolbox:not(:focus-within):not(:hover) {
margin-top: -45px;
}
```