-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't display a domain that is already blocked by other extensions #1631
Comments
This would probably also resolve the occasional warnings we see on the extension page, which would be nice. |
A problem is that we currently don't store the exact URL of a request, so we can't detect weather a domain is blocked fully or partially. My thought is to record the count of |
Another thought: There are several ways to deal with the domains that are blocked by other extensions.
Which one is better? |
If I understand correctly, this involves registering another listener, |
Seems like not displaying domains blocked by other extensions is a good start. We could probably use the details object However, I am concerned about the additional performance overhead required to do this, and also about whatever gotchas we might run into if we tried to do this. For example, If you are interested, you could try a quick prototype implementation to see how far we can get given existing WebExtensions APIs. I feel like we need more information at this point. |
Also, do any other request modifying extensions use |
I misunderstood the api for this. I thought we would be able to access errors with |
I have been thinking about moving toward a more event driven model for origins so this has been on my mind. And I plan on generally moving in that direction to test it out. |
If this feature is implemented, personally I would like to still be able to see the domains, even if they're marked as blocked by another extension. I use PrivacyBadger for information quite often, I think it's one of its best features that it shows me which sites go overboard with tracking, and which domains' services I should potentially be suspicious about. |
|
The original reason (Chrome's scary extension conflict warnings) for this request is gone. There doesn't seem to be enough of a case to continue at this point. |
Conflicting with other extension creates confusion for users, such as this comment.
On Chrome, there is an
onErrorOccurred
event when a request is blocked by other extension, so we can stop displaying a domain when it is already blocked.https://developer.chrome.com/extensions/webRequest#conflict_resolution
EDIT:
Firefox supports this as well, https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onErrorOccurred
The text was updated successfully, but these errors were encountered: