-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Replace interest-cohort with browsing-topics #432
base: main
Are you sure you want to change the base?
Conversation
`interest-cohort` is no longer recognized by any browsers, and has been superseded by `browsing-topics`. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/browsing-topics and https://www.theverge.com/2022/1/25/22900567/google-floc-abandon-topics-api-cookies-tracking
Accidentally left this out
The interest-cohort feature is still listed by Chromium as one of the supported ones. We're turning off as many features as we can with Permissions Policy to reduce attack surface although all the JavaScript is enforced as coming from our signed APK so it's not super important. It would be good to check the list of what's actually shown as enabled right now. This is the list in their web tests:
|
This should also be kept in sync to the extent it makes sense with our website configurations. |
I see - I will try to create a permissions policy that matches these features. |
We probably don't want to add all of them and some are for enabling rather than disabling features. For now, just want to focus on whether we should actually remove interest-cohort. It only matters whether it's actually deprecated in Chromium not what others say about it with no say in that. |
I added more permissions and improved the code
My bad, I see. Could you send a link to where I can find the list of what permissions are supported in Chromium? |
Unsure other than figuring out what it does from the source code. interest-cohort is still accepted and doesn't show a deprecation warning, but it's possible they did that because so many sites and even whole frameworks disabled it and they didn't want it spammed everywhere. |
According to the articles I've read about this, they silently disabled FLoC without an announcement in 2021, then announced the Topics API as a successor in 2022. So it's possible the permission still exists but is just not being used. I will check the Chromium source code and see if I can find anything, though I might need to head to sleep in a few hours. |
interest-cohort
is no longer recognized by any browsers, and has been superseded bybrowsing-topics
. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/browsing-topics and https://www.theverge.com/2022/1/25/22900567/google-floc-abandon-topics-api-cookies-tracking