-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary Container ID's persistent and accumulating in storage.js #198
Comments
As mentioned in #145 this depends on mozilla/multi-account-containers#1140 to get merged, nothing that can be done in TC. You could add a thumbs up there. |
Is there a manual way users could clean this up periodically, until Mozilla fixes the underlying bug? |
FWIW, here's a snippet you could execute on MACs browser.contextualIdentities.query({}).then(containers => {
const containerIds = Object.values(containers).map(
container => parseInt(container.cookieStoreId.match(/-(\d+)$/)[1])
);
const everyContainerId = Array.apply(null, {length: Math.max(...containerIds)+1}).map(
Number.call, Number
);
const removeContainerIds = everyContainerId.filter(
eId => eId > 0 && !containerIds.find(cId => cId === eId)
);
browser.storage.local.remove(removeContainerIds.map(
rcId => `identitiesState@@_firefox-container-${rcId}`)
);
}) You could wrap that into a |
@stoically I tried that script but it didn't remove anything. no errors either. I verified that the identities query returns 1000+ containers every time. I'm not familiar enough with the storage to take this further on my own - any clues? |
@3dc1d3 If the query returns the containers, there's nothing to remove in MACs storage.js, since the containers still exist. Your issue likely is #371 |
thanks @stoically, that's indeed my issue. |
Good day,
I take note of related Issue #145 reported on May 19 and subsequently closed and report the matter as disclosed below once more as it does not seem to be resolved.
. Set all mouse click settings on the GLOBAL tab to open new temp containers
if the new destination domain does not EXACTLY match the current tab's domain.
. Set containers to be deleted at once when the last tab in it is closed.
. Firefox Multi-Account Containers ver 6.0.1 (latest)
### Actual behavior
### Expected behavior
### Steps to reproduce
## DEBUG LOG attached for Bonus Points :-)
debug_log.txt
I supposed digging into the storage.js file on a regular basis to clear out the mess is possible but not favorable and there appears to be no good reason for the persistence.
Please accept my sincerest gratitude for creating and sharing this great addition to the struggle for online privacy.
Kind regards,
SoloRaven
The text was updated successfully, but these errors were encountered: