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

Add support for $to and $from modifiers #60

Open
ameshkov opened this issue Jul 30, 2024 · 0 comments
Open

Add support for $to and $from modifiers #60

ameshkov opened this issue Jul 30, 2024 · 0 comments
Labels
enhancement New feature or request Priority: P4

Comments

@ameshkov
Copy link
Member

ameshkov commented Jul 30, 2024

$to is a modifier that's applied to the request URL's domain name:
https://adguard.com/kb/general/ad-filtering/create-own-filters/#to-modifier

$from is just an alias for $domain

I am not entirely sure that $to can be implemented in Safari content blockers though, if-domain may only be applied to the main document domain, needs to be tested.

UPD: quick test shows that if-domain won't work indeed. Anyways, let's keep this issue open, maybe you can come up with an alternative solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: P4
Projects
None yet
Development

No branches or pull requests

2 participants