This is a neat trick that I use in FireFox. I like to use FireFox in full-screen mode and I use the bookmarks toolbar a lot. The trouble begins when using full-screen mode, toggled with F11 for the uninitiated.
Using full-screen mode really improves the browsing experience.
It gets rid of UI clutter and lets you focus on the web site you’re browsing. Unfortunately it also hides useful things, such as your bookmarks toolbar.
You still have access to your tab bar by placing your cursor at the top of the view port.
You can also use CTRL+B to toggle your sidebar into view which is useful. Unfortunately, the bookmarks toolbar will disappear … BOO! You’re left with this:
To bring it back whilst also in full-screen mode, you need a spot of profile CSS jiggery pokery but its really straight forward.
How to Show your Bookmarks Toolbar
Firstly, locate your active profile:
- Open the Run dialog by:
- In the Open command textbox in the Run dialog, type the following following command:
firefox.exe -P
This will open the Profile Manager view showing your active profile. To view the location on disk, hover over the active profile entry shown on the right-hand side of the dialog, a tool-tip will pop up showing the path.
- Navigate to this profile directory in explorer then look for a “chrome” directory containing a userChrome.css file. An example location might look like this:
\%APP DATA%\Roaming\Mozilla\Firefox\Profiles\<your profile directory>\chrome\userChrome.css
- If none of this exist, create what you need.
- Create a “chrome” directory if it doesn’t exist
- Create a new text file inside the new chrome directory (Right-click -> New -> Text Document)
- Name it “userChrome.css“. Click on yes when asked about the file extension.
- Edit userChrome.css by selecting the file and hitting Enter on the keyboard or double-clicking on the file name.
- Paste in the following code:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #navigator-toolbox[inFullscreen] #PersonalToolbar{ visibility: visible !important; }
- Save the file
Now restart FireFox and test the full-screen mode (F11). Going into full-screen mode should now allow access to your bookmarks toolbar.
Useful Full-Screen Shortcuts
When if full screen mode, you can use these shortcuts:
- Open new tab – Hold CTRL + T
- Scroll a page – Press PgUp or PpDn
- Open Search – Hold CTRL + K
- Refresh Page – Press F5 or Hold ALT + R
- Go to saved Home Page – Hold ALT + Home
- Cycle through open tabs – Forwards – Hold CTRL + TAB – Backwards – Hold CTRL, SHIFT + TAB
- Close current tab – Hold CTRL + W
- Undo Close Tab – Hold CTRL, SHIFT + T
- Navigate history – Hold ALT and then tap an Arrow Key
- Find in page – Hold CTRL +F then press F3 to continue looking
- Open developer tools – Press F12
- Open mobile view port – Hold CTRL, SHIFT + M
You can find many more useful keyboard shortcuts in the FireFox documentation.
in Ubuntu:
cd ~/.mozilla/firefox
cat profiles.ini. the name of your default profile is in there.
also there may be only one [random string].default, in which case thats your profile.
cd into it
mkdir chrome
cd chrome
nano userChrome.css
add css listed above ^^
save, exit, restart firefox!
thanks so much for this!