Close Left/Right Tab Noté 5 sur 5 étoiles

This is very good add on.
in this add on itself has scripts for "Close Left/Right TabS" that close all left/Right tabs, and I liked to have just close One Left/Right tab.
so as I can't find script for this issue, and I'm not expert but I write some Script:

Close Just One Left Tab:
gBrowser.tabContainer.selectedIndex--;
gBrowser.removeTab(gBrowser.mCurrentTab);

Close Just One Right Tab:
gBrowser.tabContainer.selectedIndex++;
gBrowser.removeTab(gBrowser.mCurrentTab);
var index = gBrowser.tabContainer.childNodes.length;
if(tab < (index-1)){
gBrowser.mTabContainer.selectedIndex--;}

this code works but if you can make it better and place it on ur website ;)

Cette critique est pour une version précédente du module (1.7.6.1-signed).