Toggling visibility of the URL bar and tabs via the bookmarks toolbar visibility setting [SOLVED]

tl:dr Here's the CSS to put in userChrome.css file. This is the "hides everything" option. See toward the end of this post for others. navigator-toolbox:has(#PersonalT… (читать ещё)

tl:dr Here's the CSS to put in userChrome.css file. This is the "hides everything" option. See toward the end of this post for others.

  1. navigator-toolbox:has(#PersonalToolbar[collapsed="true"]) {
 visibility: collapse;

}


+++

I was looking for a way to hide the nav bar and ran across this older forum topic (https://support.mozilla.org/en-US/questions/1288181).

The solution shown here seems to be non-functional these days (early 2024), but it gets us in the right direction, so below is the code for us to look at.

  1. main-window[chromehidden*="toolbar"] #nav-bar {
 visibility: collapse;

}

This is CSS, meant to be copied into a text document, itself placed in a folder called "chrome" that you'll need to create in your browser's active profile folder. Per step 6 in the instructions (https://www.userchrome.org/how-create-userchrome-css.html) linked by @jscher2000 in the above-linked forum topic, you'll also need to set toolkit.legacyUserProfileCustomizations.stylesheets to "true" in about:config. If you don't know what about:config is, this is a good example to get started, but I'm not going to explain it here.

This CSS code selects the object with ID #main-window, with an HTML attribute "chromehidden" equal to "toolbar", and sets its CSS property "visibility" to "collapse". Apparently Mozila have changed the way they implement toolbar hiding, as this no longer works — this chromehidden attribute is nowhere to be found in the HTML that drives the Firefox interface, not sure if that's the place to look for it, but I think so. Anyway, we need to dig around in this interface HTML ourselves to see what changes when hiding the bookmarks toolbar, so we can adapt a new method to what's going on in the browser now.

To do so, we open a window within a window (chrome://browser/content/browser.xhtml) and run the inspector via Web Developer Tools. Comparing the HTML we see here with the bookmarks toolbar in each state (I used BBEdit to compare the texts), we see that the object with ID #PersonalToolbar experiences a change in its "collapsed" attribute when we hide/show the bookmarks toolbar. So in our CSS code, we shift our strategy to update the "collapse" CSS property for #navigator-toolbox whenever it contains a #PersonalToolbar object with its own "collapsed" attribute set to "true", which occurs whenever we hide the bookmarks toolbar. Somewhat surprisingly, this approach of updating the CSS property seems to auto-reset on its own when the "collapsed" attribute is set back to "false", which occurs when we show the bookmarks toolbar again. In other words, it simply toggles with the visibility setting of the bookmarks toolbar, and we don't have to write any further code.

If you're interested in hiding some other UI element when hiding the bookmarks toolbar, you can modify this code to do stuff like that (but to go beyond the below examples you'll need to suss out the object IDs, CSS properties, and HTML attributes — and maybe more, depending on what you're trying to do — on your own).

But for convenience, here's an example that hides just the tabs:

  1. navigator-toolbox:has(#PersonalToolbar[collapsed="true"]) #titlebar {
 visibility: collapse;

}


Here's one that hides just the URL bar:

  1. navigator-toolbox:has(#PersonalToolbar[collapsed="true"]) #nav-bar {
 visibility: collapse;

}


Since those are the only other two things in the #navigator-toolbox to be hidden, I suppose that means we now have all options on the table (at least the way I have the browser set up). Enjoy!

Задан firefox.anon8f8 5 часов назад

Последний ответ от firefox.anon8f8 1 час назад

PR_END_OF_ERROR Firefox ver 125 on Win 10

I have been using Firefox as my preferred browser on Windows 10 Home and Pro systems for a considerable time and have recommended it to many Windows and Android users. … (читать ещё)

I have been using Firefox as my preferred browser on Windows 10 Home and Pro systems for a considerable time and have recommended it to many Windows and Android users.

Windows 10 Home ver 10.0.19045 has recently been unable to access many well-known websites due to

Secure Connection Failed - An error occurred during a connection to <website's https url> PR_END_OF_FILE_ERROR.

There are multiple reports of this problem from 2023 up into 2024 in Mozilla support and across the web, but no solutions. Curiously all of the problem reports mention Firefox not any other browser. Suggestions to try multiple fixes, but none have resolved the problem.

One posting on Mozilla Support marked RESOLVED says the problem mysteriously went away for that user. Lots of people still seem to be having this problem, so how about a fix.

Sent from Brave browser,

Задан Del 2 часа назад

Downloading files and ad-ons FAIL

I cannot download any files or any adons through firefox. I have tried every single troubleshooting method in the "What to do if you can't download or save files" article… (читать ещё)

I cannot download any files or any adons through firefox. I have tried every single troubleshooting method in the "What to do if you can't download or save files" article I have restarted my computer, I have refreshed firefox, I have reinstalled firefox TWICE, I have turned off my firewall and tried downloading a file, I have changed the wifi im connected to, I can download files on internet explorer just fine, I have tried a new profile, I have scanned my device for viruses (theres none), I have no idea what the troubleshooting mode is supposed to do because I cannot download files in that either. I currently have no ad-ons installed because of the refresh I dont know what else to do and why is my firefox doing this, it started yesterday.

Задан luca 2 часа назад

can't login to Fastmail

It was working fine and now the past few days I can no longer login to my Fastmail.com account other than from my Windows 7 pc So no one including Firefox can email me … (читать ещё)

It was working fine and now the past few days I can no longer login to my Fastmail.com account other than from my Windows 7 pc

So no one including Firefox can email me

Задан kimahoney 2 часа назад

Mouse input fails and does not recover upon opening secondary window

Version 126.0 (64 bit) Mozilla Firefox for Linux Mint mint-001 - 1.0 I use a wireless keyboard and mouse via a USB connector. History - I have had to reboot to clear the… (читать ещё)

Version 126.0 (64 bit) Mozilla Firefox for Linux Mint mint-001 - 1.0

I use a wireless keyboard and mouse via a USB connector. History - I have had to reboot to clear the mouse interface error when it occurs for many months. I've had a open issue in the linux mint forums as I thought it may be a driver issue. Things worked tolerable until 5-29-2024 as my wireless mouse has been deactivated. I opened a second window(tab) in a new window and my wireless mouse permanently no longer works. It was quite startling. The wireless keyboard is fine. A wired USB mouse works. My HP laptop mousepad works. However, once the error occurs mouse clicks are no longer responded to and the active area remains the partial window where the mouse was last active. Currently the mouse cursor does not respond to movement inputs from the wireless mouse, so seriously worse.

Have the mouse settings or driver have been tampered with?

Задан drersatz 2 часа назад

Firefox forgets my passwords

Hello, My password saved are deleted every time I close FF. It used to be manageable because Google and other sites didn't require me to fill my passwords (cookies did t… (читать ещё)

Hello,

My password saved are deleted every time I close FF. It used to be manageable because Google and other sites didn't require me to fill my passwords (cookies did the trick I suppose) but now I also loose access to gmail and Youtube every time I close FF. It's annoying to have to use 2FA every damn time. And keeping the passwords available.

I've tried every answer I found by looking around :

- tried to start in safe mode - disable hardware acceleration - I have no extensions

FF saves the passwords correctly (at least they appear in the saved password tab) but they are erased every time I restart FF. The cookies aren't automatically deleted (FF remembers my browsing history) but I need to relog into Google.

I getting frustrated.

Задан fr.bergmans 2 часа назад

Address Bar Search Suggestions

Concerning "Dismissed Suggestions"> Restore Suggestions. The "Restore" button (circled in image) is greyed out & will not do anything when clicked. This behaves … (читать ещё)

Concerning "Dismissed Suggestions"> Restore Suggestions. The "Restore" button (circled in image) is greyed out & will not do anything when clicked. This behaves same in normal as well as private browsing windows. Thank you

Задан Tom_798 3 часа назад

Password vault is protected OR NOT????

I use firefox (as mozilla) for decades ago. Never had issues, is super easy, fast and ...secure (?) A hacker last week have access on my Firefox, download ALL my saved pa… (читать ещё)

I use firefox (as mozilla) for decades ago. Never had issues, is super easy, fast and ...secure (?) A hacker last week have access on my Firefox, download ALL my saved passwords as CSV... as a plain TEXT and ATTACKS on my entire life!!! And the nightmare goes on and on... Stole my primary Google Account, Facebook, Instagram, Ubisoft, PayPal, Microsoft Account.... and other 20 sites beside this. For GOD sake, didn't you EVER think to place an extra security layer on this EXTREMELY SENSITIVE details??? A master password? 2FA or something else? Are you serious??? I'm so sorry BUT YOU'RE LOST MY TRUST!!!! Period!!! Give a change to your selves and PROTECT YOUR CUSTOMERS!

Задан Antonis WolfBack 4 часа назад

I can no longer connect to X ray images using your browser. The links are in EPIC. The X ray system is eUnity. If I can no longer connect I will have to switch browsers.

I can no longer connect to X ray images using your browser. The links are in EPIC. The X ray system is eUnity. If I can no longer connect I will have to switch browser… (читать ещё)

I can no longer connect to X ray images using your browser. The links are in EPIC. The X ray system is eUnity. If I can no longer connect I will have to switch browsers.

Your browser says: Secure Connection Failed

An error occurred during a connection to webpacs.cei.med.umich.edu.

   The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
   Please contact the website owners to inform them of this problem.

Задан mhershen 6 часов назад

Since upgrade to v.126 (from v.125), can no longer access "accounts feature" after login to bank website

Been using Firefox and predessors for 30 years. The problem: 1. I login to my Credit Union website "https://www.missionfed.com. 2. I AM able to get through the login and … (читать ещё)

Been using Firefox and predessors for 30 years. The problem: 1. I login to my Credit Union website "https://www.missionfed.com. 2. I AM able to get through the login and verification process, to the page where my accounts are shown. 3. Click on my checking account, and the icon rolls and rolls, and never gets past this point. 4. Access in this same manner has ALWAYS worked in the past. 5. I disabled all extensions, etc. There was only one anyway. Didn't help. 6. I ran troubleshooting / safe mode. Didn't help. 7. Cleared the cache, etc. Didn't help 7. I called the bank. The moment I mentioned Firefox, THEY SAID, IT'S A NEW PROBLEM WITH FIREFOX, WE'RE TELLING EVERYONE TO USE EDGE OR CHROME INSTEAD. That can't be good? 8. The bank said v.125 works fine and that v.126 is the problem. Any ideas?

Задан eganders 7 часов назад

Error 500 internal server

I am trying to email a link from chatgpt to my yahoo email account. When I try to open the link I receive the error 500 internal server message. I have emailed links fro… (читать ещё)

I am trying to email a link from chatgpt to my yahoo email account. When I try to open the link I receive the error 500 internal server message. I have emailed links from chatgpt many times before with no problem. Can you advise.

Thank you Barbara Krausher

Задан bkrausher 7 часов назад

Firefox 126.0 on Sonoma 14.5 not saving passwords

After up grading to a Mac Studio running Os 14.5, I downloaded the latest Firefox 126.0. I have three other computers with Firefox. The oldest a Mac Pro running 10.13.6… (читать ещё)

After up grading to a Mac Studio running Os 14.5, I downloaded the latest Firefox 126.0. I have three other computers with Firefox. The oldest a Mac Pro running 10.13.6 Hi Sierra that works flawlessly. I tried sync and bookmarks came over to the Mac Studio but not any passwords. I tried importing via a .csv file and got the message: Import complete New passwords added: 0 Existing entries updated: 0 Duplicate entries found: 0 Errors 190 (not imported)

Firefox will NOT even save manually entered passwords. I suspect some problem with Sonoma's paranoid security but I cannot find a solution. Any suggestions?

Задан momiller77 2 дня назад

Последний ответ от momiller77 8 часов назад

Cannot wipe/reset addon data on server / sync all addons

I am trying to sync my addons to another computer. Apparently the addons I have on the primary computer are not synced to the server. The sync-log says "[addon] not synca… (читать ещё)

I am trying to sync my addons to another computer. Apparently the addons I have on the primary computer are not synced to the server. The sync-log says "[addon] not syncable: is foreign install." The About Sync addon shows that data for two addons are on the server, one of them About Sync, while I have a lot more on my primary computer. I may have synced the addons from the secondary computer first, so that might explain why the server knows only about two addons.

So I am trying to wipe the addon data from the server and sync the addons from my primary computer. I have signed out all but the primary computer from the Mozilla account. I have tried signing in and out of the Mozilla account and changing the password to wipe the server data, but that does not seem to work.

Wiping the addon data via About Sync > addons > Engine Actions > Wipe addons does not seem to work, either. After syncing About Sync shows that there are two addons on the server again.

What else can I try to wipe the addon data on the server or to sync my addons from the primary to the secondary computer?

Задан dpdan 8 часов назад

Firefox look change to windows 7 for a sec in windows 11 and crashes when running multiple firefox windows minimized

my firefox browser switches to how it will look on windows 7 for a split second and back to original view, i run it on windows 11 , also when i run multiple firefox windo… (читать ещё)

my firefox browser switches to how it will look on windows 7 for a split second and back to original view, i run it on windows 11 , also when i run multiple firefox windows minimized side by side it often crashes

Задан harshitkewat10 8 часов назад

Autofill triggers a Settings tab to open

Recently my browser will open a Settings tab whenever I click on an autofill dropdown selection. Any autofill selection from username/passwords to simple Name/phonenumber… (читать ещё)

Recently my browser will open a Settings tab whenever I click on an autofill dropdown selection. Any autofill selection from username/passwords to simple Name/phonenumber/etc autofills. It's very annoying and I can figure out why it's doing it. How do I make it stop? I'm running Firefox 126.0.1 (64-bit) on a Windows PC.

Задан socrates4 8 часов назад

FIrefox update requires new profile

Why do I need a new profile every single little update? How can I get my saved session, bookmarks, history, open tabs, extensions and preferences from my old profile? Man… (читать ещё)

Why do I need a new profile every single little update? How can I get my saved session, bookmarks, history, open tabs, extensions and preferences from my old profile? Manually copying files from the old profile is not a solution - it's a workaround and not a great one. Lots of things get left behind. Alternatively: what file in my "old" profile do I need to manipulate to trick Firefox into using it with the new version?

Задан bogusman222 9 часов назад

Twitter X Ad Blocker add on update

Hello, I've chatted with the creators of the add on "Twitter X Ad Blocker" and asked why it isn't working any more. They told me they have an update made and ready but yo… (читать ещё)

Hello, I've chatted with the creators of the add on "Twitter X Ad Blocker" and asked why it isn't working any more. They told me they have an update made and ready but you have not approved it yet. What will it take to get you to approve the update so this will work again?

Thanks, Tracy

Задан tracyjarchow 1 день назад

Последний ответ от tracyjarchow 10 часов назад

Too many spawn child processess and browser freeze

Firefox spawn too many child processess, with cause the browser to freeze. Proposed solution: Reduce to absolute minimum the spawn child processess. The value should be… (читать ещё)

Firefox spawn too many child processess, with cause the browser to freeze.

Proposed solution:

Reduce to absolute minimum the spawn child processess. The value should be set according to the device performance and additionally show allow the user to set manually the limits.

Example: 1 (maximal 3) child process per tab/window

Задан Mcgiwer 1 неделю назад

Последний ответ от Mcgiwer 10 часов назад