News for hackers. Stuff that matters.
Re:Facebook Container for Firefox by nicholascamera on Wednesday October 21, 2020 @02:16PM (#24850528)
Do not use Temporary Containers.

This extension to Multi-Account Containers looks great at first -- its Automatic mode spins up a new container each time you open a new tab, then switches that tab to an existing container, should one be associated with the TLD you visit.

The problem is that Temporary Containers does not delete these temporary containers. They accumulate in the MAC containers list. There is no way to mass delete them, nor set them to auto-delete when the tab is closed.

These WILL sync to your Firefox account and reappear on every machine. Over 3000 temp container made MAC unusably laggy. This was so destructive of my MAC experience that I uninstalled both extensions. Unfortunately, to my knowledge, there is no way to reset the data MAC syncs to Firefox Account.

Re:Facebook Container for Firefox by nextos on Wednesday October 21, 2020 @02:29PM (#24850651)
Temporary Containers has an option "Delete no longer needed Temporary Containers" which defaults to 15 minutes, but can also be set to immediate.

Are you setting this option to something else?

Temporary Containers works really well for me. I have per domain isolation, which only breaks very very few sites (Gmail and Outlook 365). For those I have regular persistent containers. Alternatively, I can always open a new private window where I don't have this plugin active.

uBlock Origin + Temporary Containers + ClearURLs are a great setup for privacy and security. Actually, I don't need much else aside from a VPN and a few settings in my user.js.

The only thing I miss is Vimperator. Modern alternatives are full of glitches because of inherent limitations in the WebExtensions API.

Re:Facebook Container for Firefox by avian on Wednesday October 21, 2020 @02:56PM (#24850876)
It's a long-standing bug that also affects me. It's quite annoying since it's easy to irreversibly hose up your sync account by going over the remote storage quota. Maybe you don't have a Firefox account and/or sync setup?

There are related issues opened for Temporary Containers, MAC and Firefox and at least from the public discussions not much is happening about it.

Re:Facebook Container for Firefox by ringer on Wednesday October 21, 2020 @03:40PM (#24851275)
I use Temporary containers heavily and the MAC sync is also enabled but I never see anything like this. Sometimes 1-2 container it remains but I can delete it manually. Maybe I'm lucky with this.
Re:Facebook Container for Firefox by notdang on Wednesday October 21, 2020 @05:54PM (#24852659)
Here is the issue if you are interested. It's still not closed: https://github.com/stoically/temporary-containers/issues/371
Re:Facebook Container for Firefox by RMPR on Wednesday October 21, 2020 @05:19PM (#24852306)
> The only thing I miss is Vimperator. Modern alternatives are full of glitches because of inherent limitations in the WebExtensions API.

Didn't use Vimperator, but I found Tridactyl to be pretty good, especially their hinting mode.

Re:Facebook Container for Firefox by JadoJodo on Wednesday October 21, 2020 @02:45PM (#24850780)
"Delete no longer needed temporary containers 15 minutes after the last tab in it closes" is a default setting. This is not an issue I've experienced in the 3+ months I've been using this extension.

Are you sure you didn't accidentally change it?

Re:Facebook Container for Firefox by aendruk on Wednesday October 21, 2020 @03:56PM (#24851415)
I don't know what, but something causes it to leak. I've been using it for about a year and several of the low numbered containers have accumulated duplicates:

Edit: Apparently HN strips box drawing characters. Imagine the output of `sparklines 6 15 7 5 2 1 1 4 3 1 1 1 1 1 1 1`.

Re:Facebook Container for Firefox by bigbubba on Wednesday October 21, 2020 @03:35PM (#24851223)
I can confirm what others are saying, using temporary containers with the default settings left me with hundreds of containers to clean up.
Re:Facebook Container for Firefox by smichel17 on Wednesday October 21, 2020 @07:40PM (#24853509)
I don't remember what the default settings are, but I do remember changing a fair number of them (and they are numerous). Definitely not the most friendly tool to casual use. But when fully configured, it is my second favorite addon (behind uMatrix).
Re:Facebook Container for Firefox by seedcrust on Wednesday October 21, 2020 @03:11PM (#24851015)
I had the same issue and this was always enabled
Re:Facebook Container for Firefox by krastanov on Wednesday October 21, 2020 @09:05PM (#24853966)
I have the same problem (which supposedly does not happen to all users of that extension). I fix it by running this script once a month (it deletes the temporary containers from the containers.json file):

    import json

    with open('containers.json.bac') as f:
        s = f.read()
        j = json.loads(s)
        ids = [i for i in j['identities'] if not i['name'].startswith('tmp')]
        print(len(j['identities']), len(ids))
        j['identities'] = ids
        with open('containers.json', 'w') as wf:
            wf.write(json.dumps(j))
Re:Facebook Container for Firefox by jannes on Thursday October 22, 2020 @03:51AM (#24855801)
You can reset your sync data for any extension in Firefox.

Just go to about:debugging, click on "This Firefox", locate the extension and click the "Inspect" button. In the case of MAC this should lead you to about:devtools-toolbox?type=extension&id=%40testpilot-containers

In the devtools that open you need to go to the Console tab and run this command:

  await browser.storage.sync.clear()
If you want to see the data before you delete it, you can show it with this command:

  await browser.storage.sync.get()
Re:Facebook Container for Firefox by notdang on Wednesday October 21, 2020 @06:00PM (#24852705)
The only passable workaround is to enable "Reuse available numbers" for container numbering setting.

At least this way yo won't end up with unusable FF because of the thousands of undeletable temporary containers.

Re:Facebook Container for Firefox by vlunkr on Wednesday October 21, 2020 @04:01PM (#24851471)
Huh, I have not experienced this issue, but there seem to be mixed reports in these comments. The numbers continue to count up (this is also configurable), but the containers are actually deleted.
Re:Facebook Container for Firefox by seedcrust on Wednesday October 21, 2020 @03:09PM (#24851002)
I had the same issue and uninstalled both.

I used to delete manually each container when this happened, through about:preferences container manager, but now there is no more this in Preferences and to remove containers through the Multi-Container extension isn't the best thing.

Tried do that by editing some files too but the hundreds os containers keep reappearing after few days, or on new installations.