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.
I am thinking to replace the intersection observer approach by either:
1- relying solely on the mutation observer, the drawbacks are that it doesn't prioritize the current view, it doesn't respond to images being resized/expanded, etc.
2- intercepting network requests and processing them in the background script: I am currently not very clear (rather confused) about the persistence of the background script in manifest v3, so much conflicting and confusing info online about this so I am not sure, also videos are not going to work well with this cause it's hard to send video data between background and content scripts so I'll have to load the models once in the background script and then once for every tab (content script) to handle videos
I am thinking to replace the intersection observer approach by either: 1- relying solely on the mutation observer, the drawbacks are that it doesn't prioritize the current view, it doesn't respond to images being resized/expanded, etc. 2- intercepting network requests and processing them in the background script: I am currently not very clear (rather confused) about the persistence of the background script in manifest v3, so much conflicting and confusing info online about this so I am not sure, also videos are not going to work well with this cause it's hard to send video data between background and content scripts so I'll have to load the models once in the background script and then once for every tab (content script) to handle videos