Replies: 1 comment
-
AdGuard's syntax should support block create by name: https://adguard.com/kb/general/ad-filtering/create-own-filters/#cookie-modifier
If you prefere fix by older idea than his https://adguard.com/kb/general/ad-filtering/create-own-filters/#header-modifier
Their wiki indicates that even the Firefox add-on does not support it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to wiki, example.com##^responseheader(set-cookie)
can prevent all cookies from example.com to reach the browser. But usually it's more useful to prevent only some "bad" cookies, leaving other "good" cookies intact.
Yes, there is a construction host##+js(cookie-remover, filter) to counter tracking cookies, and it can use regexps. It works pretty good, But if server sets a tracking cookie with httpOnly flag, this js scriptlet cannot counter it.
I am asking to add second parameter to responseheader, with a name of cookie, or a regexp filter like in cookie-remover.js
Beta Was this translation helpful? Give feedback.
All reactions