Live data from Hacker News

Installing every* Firefox extension

jack.cab

61–70 of 86 posts

Re: Installing every* Firefox extension

#63
post #59

I won the "Middle Finger Emoji Sticker" Award! ( https://jack.cab/blog/every-firefox-extension#the-middle-fin... ) I quickly wrote up how: https://www.arnevogel.com/firefox-permissions/

why dont you use your own extension?

I used it on my old pc, but I don't buy still that regularly online so I guess I forgot to reinstall it again. Also it is outdated by now as the domain list hasn't updated in two years.

Re: Installing every* Firefox extension

#64
post #57

> I did some research to find why this took so long. 13 years ago, extensions.json used to be extensions.sqlite. Nowadays, extensions.json is serialized and rewritten in full on every write debounced to 20 ms, which works fine for 15 extensions but not 84,194. I'm slightly worried how they arrived at that debounce value. Which extensions need to write to extensions.json continuously, several times a second?

I don’t think extensions ever write that file; Firefox writes it whenever its in-memory set of installed extensions is updated.

When Firefox finds new extensions, it updates the in-memory set for each of them.

In the typical case that series of updates will be small, and the denounce makes it likely the file gets written only once.

Re: Installing every* Firefox extension

#70

Earlier quoted context omitted.

Firefox is absolutely abysmal at not corrupting its JSON stores, too. I've had it crash and lose tabs so many times. Perhaps moving back to SQLite wouldn't be a bad idea. I had to recover somebody's bookmarks for them recently after it decided to destroy the main copy.

> I had to recover somebody's bookmarks for them recently after it decided to destroy the main copy. @Chaosvex curious how you did that.

Thankfully, it makes backups inside the profile folder and has a bookmarks file import option that'll accept them.

It does the same for session tabs (minus the import options) but that never seems to actually work.

Post reply on HN