This is the official repository (https://github.com/wingman-jr-addon/wingman_jr) for the Wingman Jr. Firefox addon, which filters NSFW images in the browser fully client-side: https://addons.mozilla.org/en-US/firefox/addon/wingman-jr-filter/ Optional DNS-blocking using Cloudflare's 1.1.1.1 for families! Also, check out the blog!
I recently ran into what I believe was an OOM. For a bit after the crash, the processors were unable to start due to WebGL compilation failing and other stuff going bonkers. While Firefox eventually recovered and the addon would work on a manual refresh, the watchdog just assumed the processors hadn't loaded yet. I think some number of checks of failure on this condition should also probably trigger a reload.
I recently ran into what I believe was an OOM. For a bit after the crash, the processors were unable to start due to WebGL compilation failing and other stuff going bonkers. While Firefox eventually recovered and the addon would work on a manual refresh, the watchdog just assumed the processors hadn't loaded yet. I think some number of checks of failure on this condition should also probably trigger a reload.
The problematic code: https://github.com/wingman-jr-addon/wingman_jr/blob/fdb787e7a0285c7cfcfc180701740b0b8f6fce40/background.js#L337-L340