Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi

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… (xem thêm)

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!

Được hỏi bởi firefox.anon8f8 56 phút trước

Lần cuối trả lời bởi firefox.anon8f8 52 phút trước

Extensions through GPO

Hi, I already have the admx and adml templates installed on my gpo. I would like to control or prevent the install of vpn extensions on the firefox browser. Specificall… (xem thêm)

Hi,

I already have the admx and adml templates installed on my gpo. I would like to control or prevent the install of vpn extensions on the firefox browser.

Specifically I would like to prevent the install of all vpn extensions to the firefox browser for the users in my company. I would like them to download and install other extensions. How could I do this through modifying the json file in the extensions folder of the firefox template in my gpo.

Thanks in advance, Floyd,

Được hỏi bởi fcastellino 4 giờ trước

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… (xem thêm)

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

Được hỏi bởi tracyjarchow 23 giờ trước

Lần cuối trả lời bởi tracyjarchow 5 giờ trước

repeated asking for firefox to be default browser. why doesn't it stick?

My system repeated asks if I want Firefox to be my default browser. Equally as many times I have indicated yes but why doesn't it stick? Running Win10 latest update. Plea… (xem thêm)

My system repeated asks if I want Firefox to be my default browser. Equally as many times I have indicated yes but why doesn't it stick? Running Win10 latest update. Please help me get rid of this annoyance.

Được hỏi bởi Cor Massar 7 giờ trước

How to Disable the Privacy / Incognity Window

Hello! My name is Anya. I am desperately trying to manage my social media addiction and to help support that I am wondering if its possible to disable the privacy window.… (xem thêm)

Hello! My name is Anya. I am desperately trying to manage my social media addiction and to help support that I am wondering if its possible to disable the privacy window. I know I can install a website blocker - which I have, but it does not apply to the private window so I have full access to social media on it, I just have to log in. I want to COMPLETELY block Facebook and Instagram off of my laptop. Is this possible? Thank you!

Được hỏi bởi anya.cherepanova131018 1 ngày trước

Lần cuối trả lời bởi cor-el 11 giờ trước

MacOS Sonoma - Emoji keyboard shortcut does not work

Hi there, Using the shortcut Ctrl + Cmd + Space is suppose to open the Emoji panel, however it disappear instantly. I have already heard that this could happen if you d… (xem thêm)

Hi there,

Using the shortcut Ctrl + Cmd + Space is suppose to open the Emoji panel, however it disappear instantly.

I have already heard that this could happen if you download FF in a specific language and then change it to another language (https://bugzilla.mozilla.org/show_bug.cgi?id=1563862). I have deinstalled everything and reinstalled without changing the language, and it still don't work properly.

I'm a swiss french user, so my keyboard is configured for "French - Swiss" and Firefox is in French.

Does some of you still have this issue? Thanks a lot for your help

Được hỏi bởi thierry.krummenacher 11 giờ trước

default search engines in search bar missing stuff

i'm missing some of the default search engines in the bar ebay and amazon. i hit the button "restore default search engines" in setting to try and fix it no luck. only gi… (xem thêm)

i'm missing some of the default search engines in the bar ebay and amazon. i hit the button "restore default search engines" in setting to try and fix it no luck. only give me back wikipedia, bing, duckduckgo but not amazon and ebay two sites i visit a lot.

this been happening to me for the past year and every time i had to go in the c drive and delete the mozilla folders and reinstall firefox to get them back. then use it after a month or two later they disappeared for no reason. this only happens on my desktop and not my laptop how do i make this stop happening?

Được hỏi bởi olddudy 20 giờ trước

Can I change sort order of selection options

I'm an instructor that uses Blackboard at college. When I click in the text entry box to enter my grades, I'm given a list of previously entered grades to choose from. T… (xem thêm)

I'm an instructor that uses Blackboard at college. When I click in the text entry box to enter my grades, I'm given a list of previously entered grades to choose from. The list is in ascending order. Is there any way to get this list in descending order? One other point, until recently it used to display the value that was used most often at the top, which was often 100. Now it's in ascending order. I've attached a snippet of what I mean.

Được hỏi bởi apple07840 1 ngày trước

Lần cuối trả lời bởi apple07840 21 giờ trước

  • Đã giải quyết

Language Pack didn't apply properly

After applied Chinese Language Pack, the menu didn't change ,even after restart firefox or the system. I tried refresh firefox and re-install the language pack, the same … (xem thêm)

After applied Chinese Language Pack, the menu didn't change ,even after restart firefox or the system. I tried refresh firefox and re-install the language pack, the same situation appeared.

Được hỏi bởi Copyerder 1 ngày trước

Được trả lời bởi Paul 22 giờ trước

Check spelling is enabled but won't work on FB and Instagram desktop sites

On firefox 126.0 (64-bit) the option for spelling check is enabled, but will not appear on the context menu box when right clicked. This happens for the desktop sites of … (xem thêm)

On firefox 126.0 (64-bit) the option for spelling check is enabled, but will not appear on the context menu box when right clicked. This happens for the desktop sites of Facebook and Instagram.

Được hỏi bởi ghand_aurealis 1 ngày trước

Lần cuối trả lời bởi ghand_aurealis 1 ngày trước

No "restore previous session" option and no previous tabs opening upon startup

Greetings, I have happily used Firefox for a very very long time and all has been well until the last month or so. I have a brand new laptop with Windows 11 Pro and Fir… (xem thêm)

Greetings,

I have happily used Firefox for a very very long time and all has been well until the last month or so.

I have a brand new laptop with Windows 11 Pro and Firefox 126.

Each time I open the machine to begin a new day and open Firefox, all my tabs are gone from the previous session; this is not good for my research, studies, and business activities. I have read a lot about this issue online and (1) find that under Settings, History, there is no "restore previous session" option; and (2) I have several times already cleared the "sessionstore" folder and copied the files for later reuse.

Further, "Open previous windows and tabs" is checked off; always has been. I have checked other relevant settings and they all seem fine; but to no avail.

What would you suggest?

Thanks, Donald Sanders

Được hỏi bởi dsanders102 1 ngày trước

Browser Settings Problem

The Dismissed Suggestions > the "Restore" button (circled on the attachment) is not working (grayed out). It behaves the same in normal and private browsing. What co… (xem thêm)

The Dismissed Suggestions > the "Restore" button (circled on the attachment) is not working (grayed out). It behaves the same in normal and private browsing. What could be the problem? Thank you

Được hỏi bởi Tom_798 1 ngày trước

Some of my add-on shortcuts have disappeared from the toolbar

Some of my add-on shortcuts have disappeared from the toolbar. I have tried all of the suggestions on your help site. If I go to the add-ons page, it says they are still … (xem thêm)

Some of my add-on shortcuts have disappeared from the toolbar. I have tried all of the suggestions on your help site. If I go to the add-ons page, it says they are still there, but they don't show up in my browser.

Được hỏi bởi Gary Brown 3 ngày trước

Lần cuối trả lời bởi cor-el 2 ngày trước

Firefox only microphone problem -- enabled for site but doesn't work

Thanks in advance for any insight or suggestions. My preferred browser is Firefox. In Chrome, I can easily use a voice search from www.google.com. In Firefox, the perm… (xem thêm)

Thanks in advance for any insight or suggestions. My preferred browser is Firefox. In Chrome, I can easily use a voice search from www.google.com. In Firefox, the permissions show my preferred mic as enabled and selected for that webpage -- but no sound is detected. (Using Firefox. mic works fine at https://www.onlinemictest.com.)

(BTW, speaker output is Realtek motherboard audio and mic input is a Shure X2U USB interface. This mic works just fine in zoom, whereby, audition, etc. as well as working google.com using chrome)

Have worked through various settings in the SOUND panel and SITE PERMISSIONS with no luck.

Any ideas about this problem -- or what other settings to trouble shoot?

Thanks!

Được hỏi bởi mschubb1 3 ngày trước