X
Tap here to go to the mobile version of the site.
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

Support Forum

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

Posted

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,

Chosen solution

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)

Read this answer in context 3

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.8 r800
  • Next Generation Java Plug-in 1.6.0_45 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Google Update
  • VLC media player Web Plugin 2.0.6
  • 5.1.20513.0
  • iTunes Detector Plug-in
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.3
  • NPWLPG
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0

More Information

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 misclick and accidentally hit the 'X'. Yes it's my fault, 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,

jscher2000
  • Top 10 Contributor
8320 solutions 68113 answers

Helpful Reply

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
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
jscher2000
  • Top 10 Contributor
8320 solutions 68113 answers

Chosen Solution

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)

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)
cor-el
  • Top 10 Contributor
  • Moderator
17104 solutions 154461 answers

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.

You can also middle-click a tab to close the tab. See also: * http://kb.mozillazine.org/browser.tabs.closeButtons 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.

Question owner

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

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