Şu anda bakım nedeniyle sitemiz kısıtlı işlevsellik sunmaktadır. Mevcut makaleler sorununuzu çözmediyse ve bize soru sormak isterseniz Twitter’da @FirefoxSupport hesabından ve Reddit’teki /r/firefox subreddit'inden destek gönüllülerimize ulaşabilirsiniz.

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

How to i remove the "X" button on a tab when i only have one tab open?

  • 2 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 10 gösterim
  • Son yanıtı yazan: cor-el

more options

I want the remove the "X" button when i have a single tab open. not when i have multiple tabs open. i constantly close Firefox when i mean to open a 2nd tab.

It isnt a problem if i close a tab if i have other tabs open because i can just use "CTL+SHIFT+T" to reopen the tab, but if i close a single tab, all of firefox closes. there used to be add-ons which gave me the options, but not anymore.

I want the remove the "X" button when i have a single tab open. not when i have multiple tabs open. i constantly close Firefox when i mean to open a 2nd tab. It isnt a problem if i close a tab if i have other tabs open because i can just use "CTL+SHIFT+T" to reopen the tab, but if i close a single tab, all of firefox closes. there used to be add-ons which gave me the options, but not anymore.

Tüm Yanıtlar (2)

more options

Hi,

I don't believe Firefox has a built-in option to do this (although you could possibly do it using a userChrome.css file). However, there are a couple of other things you could try:

1. There's a setting to keep the window open even after you close the last tab, which would allow you to press ctrl+shift+t to restore the tab you closed. To enable this, go to about:config in the addressbar, click the "I accept the risk button", and type "browser.tabs.closeWindowWithLastTab" in the search box. Double-click on the item that appears to change the value to "false", and restart Firefox. 2. Alternatively, you could move the new tab button into the toolbar so that it's harder to click the close button by accident. To do this, click on the menu button in the upper-right corner, and choose "customize". From there, you can drag the new tab button to wherever in the toolbar you want to place it.

Hope that helps!

more options

You can consider to remove the close X on all tabs with code in userChrome.css and middle-click the tab with the mouse wheel to close the tab or possibly use the Tab bar context menu.

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 .tabbrowser-tab .tab-close-button {display:none!important}