Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

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

Learn More

Put a warning when accidentally clicking on the 'x' on a tab!

more options

Guys, please. Stop making it so damn difficult to send you a bloody email. I don't want to look through hundreds of FAQ's, PAQ's or any other suggestions. I certainly don't want to struggle to register just so that I can have a voice and type what I want instead of sift through templates of what other people have written. It's pretty flipping simple: PUT A WARNING WHEN THE 'X' IS CLICKED ON A TAB.

Too many times I have multiple tabs open, I am working in a high-pressure environment and need to access between tabs quickly. There may be times where I mis-click and accidentally hit the 'X'. Yes it's my fault for mis-clicking, but you have an option in place safeguarding closing the whole window, so why not apply that same safeguard to the 'X' within a tab?

I have just lost 15 minutes worth of an email because that little 'X' closes the tab mercilessly without even prompting if I am sure I'd like to close the tab.

Come on Mozilla, please help me continue to use Firefox.

Regards,

Guys, please. Stop making it so damn difficult to send you a bloody email. I don't want to look through hundreds of FAQ's, PAQ's or any other suggestions. I certainly don't want to struggle to register just so that I can have a voice and type what I want instead of sift through templates of what other people have written. It's pretty flipping simple: PUT A WARNING WHEN THE 'X' IS CLICKED ON A TAB. Too many times I have multiple tabs open, I am working in a high-pressure environment and need to access between tabs quickly. There may be times where I mis-click and accidentally hit the 'X'. Yes it's my fault for mis-clicking, but you have an option in place safeguarding closing the whole window, so why not apply that same safeguard to the 'X' within a tab? I have just lost 15 minutes worth of an email because that little 'X' closes the tab mercilessly without even prompting if I am sure I'd like to close the tab. Come on Mozilla, please help me continue to use Firefox. Regards,

선택된 해결법

Returning to the main issue, it's true that when you have a lot of tabs open, the close button on a background/inactive tab may be a dangerously large percentage of the width of the tab. There isn't a built-in feature to warn you about closing a background/inactive tab, and many users are saturated with warnings, so there might not be much appetite for adding a new one.

You can, however, remove the close button from background/inactive tabs using a hidden preference. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste close and pause while the list is filtered

(3) Double-click the browser.tabs.closeButtons preference and enter the number of your preferred behavior, then click OK:

0 => close button only on the currently active tab (not on other tabs)

1 => close buttons on all tabs (default)

3 => single tab close button at the right end of the tab bar to close the active tab (Firefox 1 style)

2 => no tab close buttons anywhere (use Ctrl+w to close the active tab, or right-click any tab > Close Tab)

문맥에 따라 이 답변을 읽어주세요 👍 3

모든 댓글 (4)

more options

Hope this reaches you before you close that window...

To undo a closed tab, while still in the same window, try any of these:

  • Ctrl+Shift+t
  • right-click another tab > Undo Close Tab
  • History > Recently Closed Tabs
more options

선택된 해결법

Returning to the main issue, it's true that when you have a lot of tabs open, the close button on a background/inactive tab may be a dangerously large percentage of the width of the tab. There isn't a built-in feature to warn you about closing a background/inactive tab, and many users are saturated with warnings, so there might not be much appetite for adding a new one.

You can, however, remove the close button from background/inactive tabs using a hidden preference. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste close and pause while the list is filtered

(3) Double-click the browser.tabs.closeButtons preference and enter the number of your preferred behavior, then click OK:

0 => close button only on the currently active tab (not on other tabs)

1 => close buttons on all tabs (default)

3 => single tab close button at the right end of the tab bar to close the active tab (Firefox 1 style)

2 => no tab close buttons anywhere (use Ctrl+w to close the active tab, or right-click any tab > Close Tab)

more options

You can also middle-click a tab to close the tab.

See also:

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open.

more options

That is EXACTLY what I was looking for, thank you so much, I am very impressed!