Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Closing the last tab.

  • 7 trả lời
  • 27 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi Roedy Green

more options

I would like to be able to close the last tab and also to close all tabs. There two reasons I want to do this: 1. I am finished with the tab, and I want it to go away so it won't distract me. 2. There is something on the tab I don't want other people to see. I want it to go away rapidly without having to shut down Firefox entirely along with that delay. Every other program I use lets me close the last tab.

I would like to be able to close the last tab and also to close all tabs. There two reasons I want to do this: 1. I am finished with the tab, and I want it to go away so it won't distract me. 2. There is something on the tab I don't want other people to see. I want it to go away rapidly without having to shut down Firefox entirely along with that delay. Every other program I use lets me close the last tab.

Tất cả các câu trả lời (7)

more options

The Last Tab Close Button add-on will add a close tab button to the last tab - https://addons.mozilla.org/firefox/addon/last-tab-close-button/

The Close All Tabs (Reloaded) add-on gives you the option to add a toolbar button to close all tabs - https://addons.mozilla.org/firefox/addon/close-all-tabs-reloaded/

more options

Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser.

See http://kb.mozillazine.org/about%3Aconfig

more options

The setting is already true. But it is not letting me close the tab.

more options

You can close that last tab with Ctrl + W or with a middle-click on that tab.

You can set the the pref browser.tabs.closeButtons to 3 to get one close button at the far right end of the tab bar.


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

See http://userstyles.org/styles/12101 : Show Close Button On Last Tab

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

/* Show Close Button On Last Tab */
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab > .tab-close-button {
 display: -moz-box !important;
}
.tabbrowser-tabs:not([closebuttons="noclose"]):not([closebuttons="closeatend"]) > .tabbrowser-tab[selected="true"] > .tab-close-button {
 display: -moz-box !important;
}
more options

I followed everyone's advice, and the sum total of it now lets me close the last tab, and close all tabs with a big red X on the right next to the cool-iris button.

One plugin said I had to configure something afterwards. I could find nothing in Firefox dialogs to configure it on.

I think such plugins should not be necessary. That is the way FireFox should behave by default.

more options

Under "Tools" GOTO: TabMixPlus Options.

              Click on "Events"
              Click on "Tab Closing"
              GOTO: "Closing Current Tab"  at bottom.
                  SEE:  "When closing current tab , focus: (in box)
         
         CHOOSE:  “last tab”  (in box)

CLICK: "Apply" CLICK: "Close"

When I did the above, my last tab on the right now had the X on it so that I could now close that tab. And if I close that tab, the tab next to it becomes the last tab and also has the X on it and can be closed at any time, etc.

Hope this helps.

more options

I upgraded to Firefox 4.0. It lets me close the last tab without any fuss. It does not have a close-all, but I can do a close-others then close the last tab. The add-ons no longer work.