当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Again, hiding the address bar ....

more options

I'm on MacOS. Firefox v92.0. I use Firefox only with three sites I use regularly. I want to maximise screen real estate by getting rid of the address bar. Getting rid of tabs too would be great, because I can use option-cmd-arrow to tab through them. And I can close the window from the menu. I tried to follow this post: https://support.mozilla.org/en-US/questions/1288181 I did everything in that post, but the custom userChrome.css is having no effect. It's mentioned there that you have to use "window.open(...)" but I don't know what that means. The full screen function on MacOS is no good. It messes with my ability to swiftly switch between apps. So I cannot use it.

This is what I have in my userChrome.css file:

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

}

/*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/

menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu {

 padding-block: 4px !important; /* reduce to 3px, 2px, 1px or 0px as needed */
 min-height: unset !important; /* v92.0 - for padding below 4px */

}

root {
 --arrowpanel-menuitem-padding: 4px 8px !important;

}

I'm on MacOS. Firefox v92.0. I use Firefox only with three sites I use regularly. I want to maximise screen real estate by getting rid of the address bar. Getting rid of tabs too would be great, because I can use option-cmd-arrow to tab through them. And I can close the window from the menu. I tried to follow this post: https://support.mozilla.org/en-US/questions/1288181 I did everything in that post, but the custom userChrome.css is having no effect. It's mentioned there that you have to use "window.open(...)" but I don't know what that means. The full screen function on MacOS is no good. It messes with my ability to swiftly switch between apps. So I cannot use it. This is what I have in my userChrome.css file: #main-window[chromehidden*="toolbar"] #nav-bar { visibility: collapse; } /*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/ menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu { padding-block: 4px !important; /* reduce to 3px, 2px, 1px or 0px as needed */ min-height: unset !important; /* v92.0 - for padding below 4px */ } :root { --arrowpanel-menuitem-padding: 4px 8px !important; }

選ばれた解決策

ian.robert.douglas said

I tried to follow this post: https://support.mozilla.org/en-US/questions/1288181 I did everything in that post, but the custom userChrome.css is having no effect. It's mentioned there that you have to use "window.open(...)" but I don't know what that means.

Oh, that code was for popup windows, not regular windows. Popup windows hide all the toolbar controls other than the address bar, which is why is what the [bracketed part] of this rule matches:

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

I don't have a Mac to test with, but a version to get rid of the main toolbar IN ALL WINDOWS would be:

#nav-bar {
  visibility: collapse;
}

Is Firefox still useful that way? Do you want the bar to appear if you hover your mouse over some other bar, or if you manually focus the address bar by pressing one of the keyboard shortcuts (if that's possible, I'm not sure)?

この回答をすべて読む 👍 1

すべての返信 (3)

more options

選ばれた解決策

ian.robert.douglas said

I tried to follow this post: https://support.mozilla.org/en-US/questions/1288181 I did everything in that post, but the custom userChrome.css is having no effect. It's mentioned there that you have to use "window.open(...)" but I don't know what that means.

Oh, that code was for popup windows, not regular windows. Popup windows hide all the toolbar controls other than the address bar, which is why is what the [bracketed part] of this rule matches:

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

I don't have a Mac to test with, but a version to get rid of the main toolbar IN ALL WINDOWS would be:

#nav-bar {
  visibility: collapse;
}

Is Firefox still useful that way? Do you want the bar to appear if you hover your mouse over some other bar, or if you manually focus the address bar by pressing one of the keyboard shortcuts (if that's possible, I'm not sure)?

more options

"I don't have a Mac to test with, but a version to get rid of the main toolbar IN ALL WINDOWS would be:

  1. nav-bar {
 visibility: collapse;

} Is Firefox still useful that way? Do you want the bar to appear if you hover your mouse over some other bar, or if you manually focus the address bar by pressing one of the keyboard shortcuts (if that's possible, I'm not sure)?"

Thank you! That works for the address bar, and is perfect. I don't need to use Firefox to browse anything, so as long it opens the tabs in the last window closed, if I quit, it remains useful. Is there a way to get rid of the tabs area in a similar way? I'm thinking maybe not, because the close/minimise radio buttons are in that same area, but I may as well ask.

more options

If you don't get an answer about the tabs here, you could ask on the FirefoxCSS subreddit:

https://www.reddit.com/r/FirefoxCSS/