次のタグが付けられた質問を表示: すべての質問を表示

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!

11 分前 に firefox.anon8f8 が質問

6 分前 に firefox.anon8f8最後の返信

browser history broken

after the download of v.126.0 i discover my history, all of it, has been deleted. in its place is a single web site, which shows up as the only web site visited across a … (続きを読む)

after the download of v.126.0 i discover my history, all of it, has been deleted. in its place is a single web site, which shows up as the only web site visited across a time span going back months. this single web site cannot be deleted from the history. it cannot be deleted through the settings menu. no new history is created by web visits. the persisting single web site is among the sites in my tool bar, but is also a site i have not recently visited (months before this happened).

23 時間前 に drollere が質問

bookmark emptied

Suddenly after 20 years of collecting invaluable basic reference works in one of the 20 bookmarks on my Bookmarks Toolbar called REF on my Firefox browser, today I find i… (続きを読む)

Suddenly after 20 years of collecting invaluable basic reference works in one of the 20 bookmarks on my Bookmarks Toolbar called REF on my Firefox browser, today I find it simply marked "Empty". No idea why. No other tabs have been altered as far as I can tell. 28 MAY 2024

1 日前 に TQFM が質問

Primary Password issue

I am migrating to a new laptop. The new laptop keeps asking me for a primary password. I have never set one up. This issue doesn't happen on the old machine, only the new… (続きを読む)

I am migrating to a new laptop. The new laptop keeps asking me for a primary password. I have never set one up. This issue doesn't happen on the old machine, only the new one. It also won't let me disable the pop-up that asks for the primary password. Please advise.

2 週間前 に Lisa Corricello-McDowell が質問

1 日前 に Lisa Corricello-McDowell最後の返信

Error code: PR_CONNECT_RESET_ERROR

Dear Firefox Support, I am writing to report an issue I am experiencing with Firefox Stable (v.126.0) when attempting to access the URL https://ibb.co. This URL is suppo… (続きを読む)

Dear Firefox Support,

I am writing to report an issue I am experiencing with Firefox Stable (v.126.0) when attempting to access the URL https://ibb.co. This URL is supposed to redirect to https://imgbb.com, but instead, I encounter the following error:

Secure Connection Failed An error occurred during a connection to ibb.co. PR_CONNECT_RESET_ERROR

This issue seems specific to Firefox Stable, as I am able to access the URL without any problems on chromium-based browsers (Chrome and Arc) and Safari. Additionally, the URL works correctly on Firefox Nightly (v.128.0a1).

I have attempted several troubleshooting steps, including:

   Disabling all extensions
   Using private browsing mode
   Clearing cookies and cache
   Restoring settings to default

Unfortunately, none of these methods have resolved the issue.

Could you please assist me in resolving this problem? Any guidance or further troubleshooting steps would be greatly appreciated.

Thank you for your support.

2 日前 に Milindh Vijay が質問

Since i upgraded my Mac OS to Sonoma, the type on Linked In is tiny, about 7 point

I am running a Mac Mini with the M1 chip. I recently updated the OS to Sonoma (14.5) from Monterey and find that the type on Linked In is tiny, only about 7 pt. My FF is… (続きを読む)

I am running a Mac Mini with the M1 chip. I recently updated the OS to Sonoma (14.5) from Monterey and find that the type on Linked In is tiny, only about 7 pt. My FF is 126.0. My minimum font size on Firefox is set to 14 pt. If I make it larger, like 20, Linked In is readable, but all my other sites are too large and hard to navigate.

Your automatic reader thinks I'm running 10.5. I've never run 10.5 on this Mac.

LI says it is a Firefox problem, which it is, because the site reads fine on Safari.

I know that there are sites which don't work on Firefox, like Chase Bank, which is a drag. Please don't tell me that LI is another one.

Somebody, please help.

Ellen Perless

3 日前 に eperless が質問

Hovering over Username displays a gear which when clicked on exposes passwords and allows them to be edited

When logging into a Wordpress site on Firefox, hovering over Username displays a gear (see first screenshot) which when clicked on exposes passwords and allows them to be… (続きを読む)

When logging into a Wordpress site on Firefox, hovering over Username displays a gear (see first screenshot) which when clicked on exposes passwords and allows them to be edited (see second screenshot). This does not happen on other browsers. I'm on Firefox 126.0, MacOS Big Sur 11.7.10

4 日前 に bill344 が質問

3 日前 に bill344最後の返信

Disable shortcut or reasign it - Moves the URL left or right

Hey, Is it possible to disable a specific shortcut or change its assigned other keys? I wanted to disable the "Moves the URL left or right". It turns out that this func… (続きを読む)

Hey,

Is it possible to disable a specific shortcut or change its assigned other keys?

I wanted to disable the "Moves the URL left or right". It turns out that this functionality won't be useful to me, but this shortcut is the one that I use the most :/

https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

Thanks,

5 日前 に anotherthing が質問

Firefox launches Apple Mail while I'm using a web-mail interface

Hello, I was using Firefox to read my email at privateemail.com. When I attempted to save one of the emails to my Macbook (using an option in the window displaying the em… (続きを読む)

Hello, I was using Firefox to read my email at privateemail.com. When I attempted to save one of the emails to my Macbook (using an option in the window displaying the email), Firefox launched Apple Mail on my MacOS system. Apple Mail opened up with the email in one of its windows.

That is not the way it worked in the past. When picking "save to computer" in the web-mail interface, Firefox would open a SaveAs dialog box and allow me to directly save the mail to my computer.

I tested this behavior using Safari instead of Firefox, and that behaved as I expected. That is, Safari opened a SaveAs dialog box for me to use.

Is there a configuration parameter that was changed in a recent Firefox update? I am running FF 126.0 on MacOS 14.4.1.

Kind Regards, Brian Kowalski

5 日前 に brian333 が質問

Unable to access website using IP in search bar

Hi there, I am unable to connect to my printer over my local wifi using the IP address when using Firefox (126.0) on MacOS. On Linux (Firefox 125.0.3, for Ubuntu), the p… (続きを読む)

Hi there,

I am unable to connect to my printer over my local wifi using the IP address when using Firefox (126.0) on MacOS. On Linux (Firefox 125.0.3, for Ubuntu), the procedure is simply to type the IP address into the search bar, and press enter, and it works. On MacOs, no way to get to that website, I only get a Google search (I also tried adding http:// or https://, or tried creating a Bookmark and modifying the address there, it simply refuses to update if I just have http://xxx.xxx.x.xxx as the address)...

Any chance there might be a way for me to connect to that IP-only website?

Thanks in advance!

5 日前 に Jérémie Wenger が質問

http website exceptions to https security feature

'I added http websites as exceptions to the https security feature but Firefox won't let me get in them. One is my health care portal. I've tried everything and re-done… (続きを読む)

'I added http websites as exceptions to the https security feature but Firefox won't let me get in them. One is my health care portal. I've tried everything and re-done the process several times, but I have to go to a different browser to get in. What do I do? Thank you.

6 日前 に jbreidenbach が質問

Password problems

No matter how I try, I can't get Firefox to save any of my passwords om my brand-new Mac computer. Nor can I reset my primary password, as I was told this might help. It … (続きを読む)

No matter how I try, I can't get Firefox to save any of my passwords om my brand-new Mac computer. Nor can I reset my primary password, as I was told this might help. It didn't; I couldn't reset or change. Indeed, I don't even remember ever having chosen a primary password. I've been through all sorts instructions, but get stuck being informed that my efforts have been unsuccessful. Would be most grateful for any help. (I never had these sort of problems with my 12 year old Mac.) Bosse, Stockholm

6 日前 に bosse.holmqvist が質問

YouTube Issue

YouTube content doesn't load. Same with NYTimes.com articles. Up to date, no extensions, no add-ons. Running Sonoma 14.4.1 Safari and Chrome work as expected. … (続きを読む)

YouTube content doesn't load. Same with NYTimes.com articles.

Up to date, no extensions, no add-ons.

Running Sonoma 14.4.1

Safari and Chrome work as expected.

1 週間前 に johnedwardlow が質問

6 日前 に johnedwardlow最後の返信

Latest Update Will Not Download

This is my Mac Monterey. My Windows 10 is in Safe Mode With Networking. The last update will not download. That version is 125.0.3. What's available under Windows upd… (続きを読む)

This is my Mac Monterey. My Windows 10 is in Safe Mode With Networking. The last update will not download. That version is 125.0.3. What's available under Windows updates does not download either. Now I am running my antivirus on my Windows to see if it runs clean. I do not know why I cannot apply these updates.

2 週間前 に tightpurchaser が質問

6 日前 に tightpurchaser最後の返信

Picture in picture not working

Whenever I use the picture in picture feature, it always opens up in a bigger tab instead of the floating PiP. I am unable to adjust the sizing whatsoever. Is there a way… (続きを読む)

Whenever I use the picture in picture feature, it always opens up in a bigger tab instead of the floating PiP. I am unable to adjust the sizing whatsoever. Is there a way to get around that?

1 週間前 に Raymond Boheme が質問

6 日前 に Raymond Boheme最後の返信