Rebuilding TBE's featureset with other plugins

Talk about add-ons and extension development.
sboulema
Posts: 6615
Joined: May 20th, 2003, 12:34 am
Location: Amstelveen, The Netherlands

Post by sboulema »

apachedude
Posts: 71
Joined: July 24th, 2004, 1:46 pm

Post by apachedude »

Is there any way to check, when opening a link in a new tab, whether there are any blank tabs in the window; and if so, opening the link in the blank tab rather than the new tab? This was a covenient little feature in TBE.
Fedorov
Posts: 211
Joined: January 27th, 2004, 3:20 am

Post by Fedorov »

sboulema wrote:miniT pass11 has a pref for that:
http://www.extensionsmirror.nl/index.php?showtopic=161


Thanks, miniT pass11 does just what I need with tabs :)
DMCrimson
Posts: 1025
Joined: February 13th, 2004, 6:11 am

Post by DMCrimson »

So, what would be the most current extension/userchrome-setup on MacOS X?
apachedude
Posts: 71
Joined: July 24th, 2004, 1:46 pm

Post by apachedude »

[quote="apachedude"]Is there any way to check, when opening a link in a new tab, whether there are any blank tabs in the window; and if so, opening the link in the blank tab rather than the new tab? This was a covenient little feature in TBE.[/quote]
Bump.
dorando
Posts: 1203
Joined: January 9th, 2004, 9:57 am
Contact:

Post by dorando »

sboulema wrote:what do i need to change to this code in minit to let a doubleclick close a tab, instead of opening a new one ?

Code: Select all

if(!(window.dorando & 1)) gBrowser.mTabContainer.ondblclick = function(e){if(e.button != 2)BrowserOpenTab();}


i tried changing BrowserOpenTab to BrowserRemoveTab and that didnt work :(

Code: Select all

gBrowser.mTabContainer.addEventListener("dblclick", function(e){if(e.target.localName == "tab" && e.button == 0)gBrowser.removeCurrentTab();}, false);
or with a fix for bug 230401

Code: Select all

gBrowser.mTabContainer.ondblclick = function(e){if(e.target.localName == "tab" && e.button == 0)gBrowser.removeCurrentTab(); else if(e.button != 2)BrowserOpenTab();}
sboulema
Posts: 6615
Joined: May 20th, 2003, 12:34 am
Location: Amstelveen, The Netherlands

Post by sboulema »

Thanks :)
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

Have you seen the Tab Double Click extension from Twanno? ;-)
sboulema
Posts: 6615
Joined: May 20th, 2003, 12:34 am
Location: Amstelveen, The Netherlands

Post by sboulema »

yes i have, but this saves me installing an extra extension ;)
and i like this better since im finally learning how these extensions work...
amaccormack
Posts: 1
Joined: September 3rd, 2004, 8:46 am

Close left Tabs/ Close Right Tabs

Post by amaccormack »

Close left Tabs/ Close Right Tabs is the one feature of TBE I can't find anywhere else. Can anyone help, please?

Thanks!
Simpsongo
Posts: 96
Joined: March 10th, 2004, 11:41 pm

Post by Simpsongo »

How does one get rid of the "Close Tab" X on the right side of the tab bar? I swear I used to be able to do it without having to install TBE.
User avatar
Rowne Mastaile
Posts: 1434
Joined: December 21st, 2003, 3:05 pm
Location: Housed in a swirling neosma of scintillating thought and turgid ideas.
Contact:

Post by Rowne Mastaile »

Code: Select all

.tabs-closebutton { 
  display: none !important;
}

Drop that in at the bottom of your userChrome.css file.
User avatar
ieremiou
Posts: 637
Joined: July 20th, 2004, 3:21 pm
Location: Brooklyn, NYC
Contact:

Post by ieremiou »

Thanks Rowne. Now if only I knew how to code that into Tab X 0.2pass1 for 0.10.0.
(I'm not the developer of that extension and it is quite useful alternative to TBE)
That would improve the experience you could say of FireFox.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050922 Firefox/1.6a1 - Build ID: 2005092210
User avatar
Moonwolf
Posts: 531
Joined: December 7th, 2003, 2:50 pm
Location: Hertfordshire, England
Contact:

Post by Moonwolf »

Just save it as a CSS file and reference it from the overlay. Take a look inside EMbuttons to see exactly how.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Thunderbird 1.0 (20041206)
EMbuttons: Buttons & options for the Extension Manager. Easy Get Mail Button is here too.
User avatar
ieremiou
Posts: 637
Joined: July 20th, 2004, 3:21 pm
Location: Brooklyn, NYC
Contact:

Post by ieremiou »

Heh, you know what's funny... In the nightlies you know the Find dialog is a toolbar.
Happens that the above code also removes that toolbar's X button. oy.
I dunno if that could be considered a bug and that they should differentiate between the two buttons or what.
I don't like the tabbar X button because I perfer them in each tab (which makes more sense to me.)
But that button and the find toolbar (which is awkward anyways) and its button should be different in my opinion.
Mrr, so essentially I can't use that code now. :\
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050922 Firefox/1.6a1 - Build ID: 2005092210
Post Reply