搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Permanently hide the list-all-tabs button

more options

I'd like to permanently hide the list all tabs button (which appears at the far right of the tab bar, when there are many tabs opened). I've found an [extension](https://addons.mozilla.org/firefox/addon/permanent-listalltabs/) to permanently show the button, I want the opposite. I've found several apparently outdated articles suggesting adding some CSS to my userChrome.css, however everything that I've tried so far didn't remove the button. Can anybody suggest what to add to my userChrome.css to hide the list all tabs button (FF 45)? And btw, do I have to restart Firefox every time I edit userChrome.css, or there's a way to automatically/manually reload it?

I'd like to permanently hide the list all tabs button (which appears at the far right of the tab bar, when there are many tabs opened). I've found an [extension](https://addons.mozilla.org/firefox/addon/permanent-listalltabs/) to permanently show the button, I want the opposite. I've found several apparently outdated articles suggesting adding some CSS to my userChrome.css, however everything that I've tried so far didn't remove the button. Can anybody suggest what to add to my userChrome.css to hide the list all tabs button (FF 45)? And btw, do I have to restart Firefox every time I edit userChrome.css, or there's a way to automatically/manually reload it?

由 gene.pavlovsky 於 修改

被選擇的解決方法

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#tabbrowser-tabs ~ #alltabs-button {display:none!important;}


The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#tabbrowser-tabs ~ #alltabs-button {display:none!important;}


The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

more options

It looks very similar to the code I tried from another website (which didn't work), but it has to be slightly different, because this one actually works. Thanks!