[tor] Stateless-compatible Tor Browser integration.
This commit is contained in:
parent
55297cba0b
commit
5e3e15f9e6
|
@ -71,12 +71,14 @@
|
||||||
if (data) {
|
if (data) {
|
||||||
ns.policy = new Policy(data.policy);
|
ns.policy = new Policy(data.policy);
|
||||||
ns.unrestrictedTabs = new Set(data.unrestrictedTabs);
|
ns.unrestrictedTabs = new Set(data.unrestrictedTabs);
|
||||||
|
Settings.gotTorBrowserInit = data.gotTorBrowserInit;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeSave() { // beforeSave
|
beforeSave() { // beforeSave
|
||||||
return {
|
return {
|
||||||
policy: ns.policy.dry(true),
|
policy: ns.policy.dry(true),
|
||||||
unrestrictedTabs: [...ns.unrestrictedTabs],
|
unrestrictedTabs: [...ns.unrestrictedTabs],
|
||||||
|
gotTorBrowserInit: Settings.gotTorBrowserInit,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue