-
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
Add $permissions modifier #419
Comments
Link from #174: |
…is enabled Google started experimenting with FLoC in Chrome browser. This new API is supposed to replace third-party cookies and allow learning about users behavior in a more privacy preserving way than it was. We are pretty sure that people who use AdGuard Tracking Protection filter are not okay with websites learning about their behavioral groups regardless of how preserving it is. There's an article by EFF explaining issues of this new API and we agree with every point there: https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
Here's the proposed spec:
|
@AdguardTeam/filters-maintainers could you please check this out? |
Looks like a great feature. |
I have a question regarding In knowledge base there is an example like this: ||example.org^$permissions=sync-xhr 'none' but it looks like that adding such rule causes that there is an error displayed in the console:
I'm not familiar with this, but should not it be something like this: ||example.org^$permissions=sync-xhr=() I have checked it out with *.*$permissions=fullscreen=() works, but if I add: *.*$permissions=fullscreen 'none' it doesn't work So I just wonder if I'm doing something wrong or maybe the example in knowledge base is not correct? By the way, how can we use two permissions in one rule if
And one more thing, if I'm not wrong this example:
is not correct, there is missed I'm checking it with AdGuard for Windows 7.13 nightly 2 (build 4183, CL 1.11.44) |
@AdamWr Yes, example is incorrect, they switched from CSP syntax to structured header syntax in final specification, and seems that CSP syntax is not supported anymore. We will fix examples, thanks. |
Okay, thank you for your answer.
to do that. |
Agree, will be done along with #1748 |
Question: What about subframes? Like,for example,YAHOO doesn't allow fullscreen on embeded youtube videos. |
CoreLibs do not patch iframe html tags according to matched |
Sergei @sxgunchenko thanks for the explanation and trying to help but unfortunately it didn't work. Looks like Yahoo doesn't use the embeded link like any other site out there. |
Oops, just found a couple of mistakes in the rule. This one should work: |
Here is a List of features that can be used with the |
There is a link to the list in the KB article, although it leads to MDN |
It would be really useful for implementing stealth mode features.
More info:
https://caniuse.com/permissions-policy
https://www.w3.org/TR/permissions-policy-1/
https://developers.google.com/web/updates/2018/06/feature-policy
https://w3c.github.io/webappsec-permissions-policy/
TODO: we need to come up with a better description of what we want. It could be used as a part of advanced tracking protection indeed, but we could also introduce a new filters modifier (just like $csp)
The text was updated successfully, but these errors were encountered: