alganzory / HaramBlur

A Browser extension that enables you to navigate the web with respect for your Islamic values, protect your privacy and reduce browsing distractions by auto detecting and blurring "Haram" content.
https://haramblur.com
GNU Affero General Public License v3.0
404 stars 30 forks source link

Blurry initialization needs timeout if no detection for whatever reason #29

Closed alganzory closed 9 months ago

alganzory commented 10 months ago

There are some cases where detection doesn't start on an image and so the detectionStarted event doesn't fire such as in #30 and this means if blurry start mode is on, the image remains blurred. Ideally, this should not happen in the first place (detection not starting) but also if it does there should be a timeout that unblurs the image and maybe displays a console error