[tor] Stateless-compatible Tor Browser integration.

This commit is contained in:
hackademix 2024-10-23 10:36:43 +02:00
parent 55297cba0b
commit 5e3e15f9e6
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 2 additions and 0 deletions

View File

@ -71,12 +71,14 @@
if (data) {
ns.policy = new Policy(data.policy);
ns.unrestrictedTabs = new Set(data.unrestrictedTabs);
Settings.gotTorBrowserInit = data.gotTorBrowserInit;
}
},
beforeSave() { // beforeSave
return {
policy: ns.policy.dry(true),
unrestrictedTabs: [...ns.unrestrictedTabs],
gotTorBrowserInit: Settings.gotTorBrowserInit,
};
},
}