Detect temporary group tabs ignoring session history
This commit is contained in:
parent
2cd526253e
commit
4fe157dec2
@ -2197,10 +2197,10 @@ var TreeStyleTabBase = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
isTemporaryGroupTab : function TSTBase_isTemporaryGroupTab(aTab, aLazyCheck)
|
isTemporaryGroupTab : function TSTBase_isTemporaryGroupTab(aTab)
|
||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
this.isGroupTab(aTab, aLazyCheck) &&
|
this.isGroupTab(aTab, true) &&
|
||||||
/.*[\?&;]temporary=(?:1|yes|true)/i.test(aTab.linkedBrowser.currentURI.spec)
|
/.*[\?&;]temporary=(?:1|yes|true)/i.test(aTab.linkedBrowser.currentURI.spec)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user