[Optimoz] [mozgest] One gesture: close tab ang go to left tab

Jochen bugs at krickelkrackel.de
Mon Aug 7 18:56:08 EDT 2006


Hi,

what about:

var mgToBeRemoved = getBrowser().mCurrentTab;
getBrowser().mTabBox._tabs.advanceSelectedTab(-1, true);
getBrowser().removeTab(mgToBeRemoved);

?

Jochen

Pirlouy wrote:
> Hello,
> What's the javascript code to close a tab and go to left tab, without 
> marking the right tab as "Read" ?
> Thanks In Advance.
> 


More information about the Optimoz mailing list