Tab Mix Plus

Official Home of TMP
It is currently Sat May 25, 2013 12:58 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Aug 06, 2012 11:24 pm 
Offline

Joined: Wed Jun 01, 2011 9:52 am
Posts: 4
Location: Sandy Springs, GA USA
There's a little utility called Mini Tab that I think is great, except it no longer works with the latest version of TMP and the author hasn't updated it in a while. Mini Tab does two things. First, it reduces the size of a tab to the size of its icon plus some number of pixels to the right. Second, once the tab is "minified", if you move your cursor over it, the tab returns to its "normal" size so you can read the text on the tab and also access the close button on the tab.

I think it would be great if you could add this functionality to TMP. First, I wouldn't have to keep track of yet another extension (of which I can never remember the name) and, second, I'd know this functionality will always be available because TMP is one of the relatively few extensions a ton of people use and always gets updated to work wih the latest release of FX. Therefore, I won't have to forego the tab "minification".

There used to be an extenstion called Faviconize but it seemed to behave a bit on the flaky side and wasn't that reliable. If memory serves me properly, you had to specifically request a tab to be "faviconized". That would be a tedious proposition if you had a ton of tabs open you wanted to shrink in width. Also, you had to explicitly tell the program to stop faviconizing a particular tab, too. I like Mini Tab's solution the best.


Top
 Profile  
 
PostPosted: Mon Aug 06, 2012 11:54 pm 
Offline
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5194
Location: Rocky Mountains
You can use this code (in Stylish or UserChrome.css). It will 'faviconize' all tabs though, not selectively on your request (of course, change size to your liking):

.tabbrowser-tab
{ min-width: 26px !important;
width: 26px !important; }

.tabbrowser-tab[selected="true"],
.tabbrowser-tab:hover
{ min-width: 250px !important; }

Or you could pin tabs selectively from the Rclick on tab menu. But pinned tabs can't be closed, i think. I don't use it and don't really know. The close button can be displayed by a style as well but i'd need onemen' help with this one 'cause there 2 close buttons, left and right.

EDIT: JFYI, i'm not a developer and don't know what onemen will say to your request, this code is just a suggestion, tested on Fx15b2 and it worked for me.

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 3:43 am 
Offline

Joined: Wed Jun 01, 2011 9:52 am
Posts: 4
Location: Sandy Springs, GA USA
Thanks Makondo! Works like a champ in FX 14.0.1.

The only issue is that my one pinned tab becomes elongated and extends over my "go back" and "go forward" buttons on my nav toolbar. There appear to be spaces added above the site icon on the pinned tab and to the left of the icon on the same tab. In other words, instead of the pinned tab being square with its icon centered in the tab like the other tabs on the toolbar, the pinned tab becomes rectangular with the site icon at the bottom of the tab and right-justified. When I hover over it, the pinned tab returns to its "normal" size, except the site icon remains right-justified instead of centered on the tab. BTW, when I unpin the tab, the problem is solved. So there's my solution... no pinned tabs. I guess there's an issue with Mozilla's pinned tab code.

Thanks again for providing me with this solution. I can recognize most sites by their site icons so I don't even need to see the tab text. This allows me to have many more tabs visible without having to scroll through them to find the one I want to activate.


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 10:43 am 
Offline
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5194
Location: Rocky Mountains
Add :not([pinned]), like so:

.tabbrowser-tab:not([pinned])
{ }

.tabbrowser-tab[selected="true"]:not([pinned]),
.tabbrowser-tab[selected="true"]:not([pinned]), .tabbrowser-tab:hover
{ }

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 8:20 pm 
Offline

Joined: Wed Jun 01, 2011 9:52 am
Posts: 4
Location: Sandy Springs, GA USA
Perfect! Fantastic! Thank you!


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 8:22 pm 
Offline
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5194
Location: Rocky Mountains
You're welcome, Good Luck!

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group