Easy way to put "Close Tab" button on left?

User Help for Mozilla Firefox
Post Reply
2CV67
Posts: 114
Joined: December 22nd, 2004, 7:37 am
Location: Alsace

Easy way to put "Close Tab" button on left?

Post by 2CV67 »

Up to FF 17.0 I have been using Tab Mix Plus addon, just to get the Close Tab button on the left.

Since FF 17.0 it seems TMP is no longer compatible.

I see on other threads that TMP is a big & sensitive subject & I don't want to get dragged into it.

So - is there any other way to get the Close Tabs button on the left?
It sounds like a simple-enough bit of user customization I would have expected to be available automatically.

I note with some surprise that I can close tabs with a middle-click anywhere, but would still prefer a left-click on the left, if possible.
Acer Aspire TC-100-007: Multi-boot W10 / Ubuntu 22.04 / Ubuntu 21.10LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / Lubuntu18.04LTS: also Lenovo 5-15ARE05: W11 / Ubuntu 22.04
User avatar
DanRaisch
Moderator
Posts: 127188
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Easy way to put "Close Tab" button on left?

Post by DanRaisch »

You can use the developer's beta version of TMP to maintain compatibility.

http://tmp.garyr.net/forum/viewtopic.ph ... &start=680 Use link from post: WildcatRay Posted: Sun Oct 28, 2012 7:17 am, it is fixing one more problem with TMP ;) Working as charm on Nightly 20 :D
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Easy way to put "Close Tab" button on left?

Post by Frank Lion »

2CV67 wrote:So - is there any other way to get the Close Tabs button on the left?

Yeah, easy enough. Hopefully, you already know about userChrome.css snippets or Stylish, if not ask one of the guys here.

I've only spent 5 minutes on this so the positions might need more adjustment, but I wrote this which works and shows you the general idea -

Code: Select all

    .tab-icon-image,.tab-throbber {
    -moz-box-ordinal-group: 2 !important;
    }
    .tab-text {
    -moz-box-ordinal-group: 3 !important;
    }   
    .tab-close-button {
      display: -moz-box !important;
      margin-right: 3px !important    }


see also Section 4 here - viewtopic.php?p=3519925#p3519925
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
2CV67
Posts: 114
Joined: December 22nd, 2004, 7:37 am
Location: Alsace

Re: Easy way to put "Close Tab" button on left?

Post by 2CV67 »

Frank Lion wrote:I wrote this which works and shows you the general idea -

That seems to work perfectly!

Thanks very much!

Don't need TMP now...
Acer Aspire TC-100-007: Multi-boot W10 / Ubuntu 22.04 / Ubuntu 21.10LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / Lubuntu18.04LTS: also Lenovo 5-15ARE05: W11 / Ubuntu 22.04
2CV67
Posts: 114
Joined: December 22nd, 2004, 7:37 am
Location: Alsace

Re: Easy way to put "Close Tab" button on left?

Post by 2CV67 »

Stopped working in FF53...

Is there a new way?
Acer Aspire TC-100-007: Multi-boot W10 / Ubuntu 22.04 / Ubuntu 21.10LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / Lubuntu18.04LTS: also Lenovo 5-15ARE05: W11 / Ubuntu 22.04
User avatar
dickvl
Posts: 54146
Joined: July 18th, 2005, 3:25 am

Re: Easy way to put "Close Tab" button on left?

Post by dickvl »

See:
https://support.mozilla.org/en-US/questions/1157451

Code: Select all

.tabbrowser-tab .tab-close-button {
display:-moz-box!important;
-moz-box-ordinal-group:0!important;
margin-left: -2px !important;
margin-right: 2px!important;
}
fxfan313
Posts: 340
Joined: November 2nd, 2005, 4:12 am

Split from 2620919 - LIMPET235

Post by fxfan313 »

I've learned from many years experience with TMP that either, A., the developer will come up with a fix very soon; or B., an upgrade to the latest version, sometimes the nightly, will fix it. I have not been upgraded to FF53 yet so I actually don't know if the above will work. But I'd be pretty confident it will. Start here, and good luck:

http://tabmixplus.org/
2CV67
Posts: 114
Joined: December 22nd, 2004, 7:37 am
Location: Alsace

Re: Easy way to put "Close Tab" button on left?

Post by 2CV67 »

Thanks dickvl - I pasted that into UserChrome.css & it works perfectly!
Acer Aspire TC-100-007: Multi-boot W10 / Ubuntu 22.04 / Ubuntu 21.10LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / Lubuntu18.04LTS: also Lenovo 5-15ARE05: W11 / Ubuntu 22.04
2CV67
Posts: 114
Joined: December 22nd, 2004, 7:37 am
Location: Alsace

Re: Easy way to put "Close Tab" button on left?

Post by 2CV67 »

I hope it is legitimate to dig up this very old thread, as it is a continuing story...

My FF tab close buttons stayed on the left thru Ubuntu 21.04 & FF93 - thanks dickvl!

But I just upgraded to Ubuntu 21.10 & FF96.0.1 and my buttons are on the right again.
I checked the code was still present in userChrome.css.
I couldn't find any references to this new situation on Internet.

Thanks for any suggestions!
Acer Aspire TC-100-007: Multi-boot W10 / Ubuntu 22.04 / Ubuntu 21.10LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / Lubuntu18.04LTS: also Lenovo 5-15ARE05: W11 / Ubuntu 22.04
Post Reply