Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Closing the last tab.

  • 7 답장
  • 27 이 문제를 만남
  • 6 보기
  • 최종 답변자: 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.

모든 댓글 (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.