Tab Mix Plus's "SessionData" is deprecated
This commit is contained in:
parent
bbd95f450b
commit
b94a0f6417
@ -117,7 +117,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
if ('getTabProperties' in sessionData && 'setTabProperties' in sessionData) {
|
if ('getTabProperties' in sessionData && 'setTabProperties' in sessionData) {
|
||||||
let prefix = sv.kTMP_SESSION_DATA_PREFIX;
|
let prefix = sv.kTMP_SESSION_DATA_PREFIX;
|
||||||
let sessionManager = window.TabmixSessionManager || window.SessionManager;
|
let sessionManager = window.TabmixSessionManager || window.SessionManager;
|
||||||
SessionData.tabTSTProperties = this.extraProperties.map(function(aProperty) {
|
sessionData.tabTSTProperties = this.extraProperties.map(function(aProperty) {
|
||||||
return prefix+aProperty;
|
return prefix+aProperty;
|
||||||
});
|
});
|
||||||
eval('sessionData.getTabProperties = '+
|
eval('sessionData.getTabProperties = '+
|
||||||
|
Loading…
Reference in New Issue
Block a user