X
Tap here to go to the mobile version of the site.

منتدى الدعم

This thread was closed and archived. Please ask a new question if you need help.

Disable middle click tab bar

Posted

Why is this a feature without the option to disable when none of the other browsers has this feature?

It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

Why is this a feature without the option to disable when none of the other browsers has this feature? It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

Chosen solution

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Read this answer in context 1
WestEnd 60 solutions 5387 answers

Screenshot of the problems your referring to?

Screenshot of the problems your referring to?

Question owner

Here's a GIF to show what I'm talking about.

Here's a GIF to show what I'm talking about.
cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

That is how about middle-clicking on the Tab bar works. I'm not aware of a way to disable it or if there is an extension that adds this feature. You could keep that many tabs open that the entire Tab bar is filled with tabs.

That is how about middle-clicking on the Tab bar works. I'm not aware of a way to disable it or if there is an extension that adds this feature. You could keep that many tabs open that the entire Tab bar is filled with tabs.

Question owner

The issue is that there should at least be an option to disable this feature seeing as other browsers such as Chrome, and Edge does not have this.

There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

The issue is that there should at least be an option to disable this feature seeing as other browsers such as Chrome, and Edge does not have this. There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.
the-edmeister
  • Top 25 Contributor
  • Moderator
5406 solutions 40227 answers

ZetiX said

... There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

If you would post that CSS tweak here we may learn something.

''ZetiX [[#answer-1207668|said]]'' <blockquote> ... There was a CSS tweak to disable this, but the recent update caused the tweak to stop working. </blockquote> If you would post that CSS tweak here we may learn something.

Question owner

  1. tabbrowser-tabs .scrollbox-innerbox{pointer-events: none}

.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Here's the PasteBin link , the forum formats the text.

#tabbrowser-tabs .scrollbox-innerbox{pointer-events: none} .tabbrowser-tab,.tabs-newtab-button{pointer-events: auto} Here's the [https://pastebin.com/aFE85cPM PasteBin link] , the forum formats the text.

Modified by ZetiX

cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

Chosen Solution

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Try: <pre><nowiki>#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none} .tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}</nowiki></pre> ---- *https://www.userchrome.org/how-create-userchrome-css.html *https://www.userchrome.org/what-is-userchrome-css.html

Modified by cor-el

Question owner

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

This worked! Thanks so much!

''cor-el [[#answer-1207690|said]]'' <blockquote> Try: <pre><nowiki>#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none} .tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}</nowiki></pre> </blockquote> This worked! Thanks so much!
cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

You're welcome

You're welcome
Red 0 solutions 2 answers

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

How do I try this? I went into \AppData\Roaming\Mozilla\Firefox\Profiles\

Then I made a folder named 'chrome' and put a userChrome.css in it, with only those two lines in it but I still get a new tab if I MM click the tab bar's empty space.

''cor-el [[#answer-1207690|said]]'' <blockquote> Try: <pre><nowiki>#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none} .tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}</nowiki></pre> </blockquote> How do I try this? I went into \AppData\Roaming\Mozilla\Firefox\Profiles\ Then I made a folder named 'chrome' and put a userChrome.css in it, with only those two lines in it but I still get a new tab if I MM click the tab bar's empty space.

Helpful Reply

You have to create the chrome folder inside the xxxxx.default folder, then create the userChrome.css with those 2 lines.

You have to create the chrome folder inside the xxxxx.default folder, then create the userChrome.css with those 2 lines.
Red 0 solutions 2 answers

Yep, that did it. Thanks kindly, ZetiX.

Yep, that did it. Thanks kindly, ZetiX.