Skip to content
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

webRequest callbacks never fire for requests blocked by DNR rules #4

Open
lenacohen opened this issue Feb 27, 2025 · 1 comment
Open
Labels
webRequest Issue with Safari's webRequest API

Comments

@lenacohen
Copy link
Collaborator

lenacohen commented Feb 27, 2025

webRequest callbacks like onBeforeRequest never fire for requests blocked by DNR rules.

This behavior is inconsistent with Chrome, where we use webRequest to display blocked requests to users.

This missing feature on Safari limits our ability to show users what our extension blocked. declarativeNetRequest.getMatchedRules is less accurate and provides less information.

Apple Feedback Assistant Report: FB16453819

@lenacohen lenacohen added the webRequest Issue with Safari's webRequest API label Feb 28, 2025
@lenacohen
Copy link
Collaborator Author

webRequest.onErrorOccurred doesn't fire either for blocked requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webRequest Issue with Safari's webRequest API
Projects
None yet
Development

No branches or pull requests

1 participant