Open Bug 1497005 Opened 6 years ago Updated 1 year ago

get back tabs close buttons options

Categories

(Firefox :: Tabbed Browser, enhancement, P5)

62 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: cpartiot, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Steps to reproduce:

try to hide tabs close buttons.



Actual results:

- Since firefox 31 http://kb.mozillazine.org/Browser.tabs.closeButtons option is removed.
- Since Firefox 57 (Quantum) addons like https://addons.mozilla.org/fr/firefox/addon/tabs-closebutton-restored/reviews/ able to restore it, can no longer work.


Expected results:

An option should be added to select the place of close button (on each tabs/on windows/none/...)

why?

I, like many peoples, never use close tab button:
- I use left click to select tab,
- I use middle click to close tab,
- I often close accidentally tab with button close button I never use

This option should not be (only) in about:config but about:preferences
Technically a duplicate of 344182. That was filed 12 years ago and it has no recent duplicates, so maybe it would be preferable to revisit the issue.


You can add a Close button on the right of the tab bar with an add-on:
https://addons.mozilla.org/firefox/addon/close-tab-button-quantum/

You can hide the tab Close buttons with userChrome.css

.tabbrowser-tab .tab-close-button { display: none !important; }

https://luke-baker.github.io/#usage
Severity: normal → enhancement
Component: Untriaged → Preferences
OS: Unspecified → All
Hardware: Unspecified → All
Component: Preferences → Tabbed Browser
Priority: -- → P5

@gi(In reply to Gingerbread Man from comment #1)

Technically a duplicate of 344182. That was filed 12 years ago and it has no
recent duplicates, so maybe it would be preferable to revisit the issue.

You can add a Close button on the right of the tab bar with an add-on:
https://addons.mozilla.org/firefox/addon/close-tab-button-quantum/

You can hide the tab Close buttons with userChrome.css

.tabbrowser-tab .tab-close-button { display: none !important; }

https://luke-baker.github.io/#usage

Mozilla just removed the ability to use userChrome.css:
https://www.mozilla.org/en-US/firefox/69.0/releasenotes/#changed

(In reply to Clément from comment #2)

Mozilla just removed the ability to use userChrome.css:
https://www.mozilla.org/en-US/firefox/69.0/releasenotes/#changed

It's just not loaded by default anymore, which speeds up startup time for most users. Enter about:config into the address bar, then set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true.

Why this browser.tabs.closeButtons option was removed?

This option this option had been removed because:

These would be better supported and more discoverable if they were implemented by an add-on.

https://bugzilla.mozilla.org/show_bug.cgi?id=865826

Unfortunately it seems that it is no longer possible to do this with an add-on.

Flags: needinfo?(jaws)
Severity: normal → S3
Flags: needinfo?(jaws)
You need to log in before you can comment on or make changes to this bug.