Synzvato / decentraleyes

This repository has a new home: https://git.synz.io/Synzvato/decentraleyes
Mozilla Public License 2.0
1.45k stars 96 forks source link

Better integration with content blockers #259

Open hackel opened 6 years ago

hackel commented 6 years ago

I've read this entry in the FAQ: Why doesn't it deliver resources from CDNs I block using a different add-on? and it left me not very satisfied. With the suggested configuration, any requests for files from the domains listed that Decentraleyes does not have a local copy of will be silently denied. Since Decentraleyes does not have an appropriate UI for highlighting these blocked resources, one would have to resort to searching the code or network log to find them, evaluate the content of the links, and choose whether to whitelist the site in Decentraleyes or not. This is an unnecessarily complicated process.

I would like an option to flip the precedence, if possible. If this option is enabled, then Decentraleyes will allow all of its local resources through, regardless of the setting in my blocker (Ublock Origin). If they aren't available locally, then Decentraleyes will attempt to download it, and that request will in turn be caught by Ublock Origin (or uMatrix, NoScript, etc.) and shown in its UI, allowing me to choose whether or not to accept the request.

If this level of interoperability isn't possible with WebExtensions, I propse advocating for it to be added, as it would be incredibly useful. The other alternative would be for Decentraleyes to implement its own blocking UI to allow the user to choose what to allow, and that seems entirely out of the scope of this wonderful set-it-and-forget-it extension.