-
Notifications
You must be signed in to change notification settings - Fork 7
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
Show cosmetic rules in the filtering log #180
Comments
ameshkov
changed the title
Show Element hiding rules in filtering log
Show cosmetic rules in the filtering log
Apr 7, 2019
3 tasks
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This was referenced Jul 28, 2023
6 tasks
I think that integrating with AdGuard Assistant web browser extension and using |
adguard-bot
added
Version: CoreLibs v1.15
Version: CoreLibs v1.16
and removed
Version: CoreLibs v1.15
labels
Apr 17, 2024
This was referenced Aug 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is to collect cosmetic rules and show them in the filtering log.
Here's how it can be done:
For scriptlet rules we could rely on
hit()
calls.The task is partly implemented since CoreLibs v1.12, but there're issues that need to be resolved before we announce it publicly.
Extended CSS rules are not reported to console (try
example.org#?#body
)Add a log entry that explains that the content script is in verbose mode:
Improve the content script logging format so that it was possible to navigate directly to the DOM element that was affected by the rule:
Improve the way scriptlets report hits, instead of this:
Use something like this:
The text was updated successfully, but these errors were encountered: