question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add HTTP header to opt out of "interest cohort" training

See original GitHub issue

At least one commonly used web browser is planning to deploy a system in which users are classified into “interest cohorts” based on web history. (Federated Learning of Cohorts, or FLoC). This is widely considered a risk to user privacy. Background information is available from

If MDN visits are used to classify users into a “web developer” cohort, then unpredictable and possibly adverse effects will ensue. Some MDN users might be classified as web developers, and therefore good possible tenants, by landlords. Others might be classified by their current employers as people seeking new jobs as web developers, and suffer consequences at work. Still other users might be classified as web people and placed at risk for “spear phishing” attacks against web sites.

Because the training of cohorts has not been independently evaluated for privacy or security, and because cohort training is currently opt-out rather than opt-in, please add the opt-out HTTP header to MDN.

Permissions-Policy: interest-cohort=()

More info on opting out: https://github.com/WICG/floc#opting-out-of-computation

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dmarticommented, Nov 4, 2021

@schalkneethling The first origin trial in Google Chrome has come to an end. There may be a second trial coming soon, but so far we don’t know much about how FLoC will be changed. It is likely that FLoC training will only happen on pages on which the FLoC API is called, which might make the opt-out header unnecessary, but I still don’t know how a script injected into a page by a browser extension might affect this. ( https://github.com/WICG/floc/issues/33#issuecomment-802248998 )

More info: https://digiday.com/marketing/google-switch-floc-cookie-replacement-fingerprinting-potential/

0reactions
caugnercommented, Nov 30, 2022

FLoC seems to have been replaced by the Topics API, but I don’t think it makes sense to keep tracking this here in an open yari issue.

Once this becomes significantly more prominent and therefore relevant again, we should discuss this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New trick to block Chrome's FLoC - Adalytics
This “Permissions-Policy” header must be set to “interest-cohort=()” to disable FLoC on a given website for all Chrome users who visit the site....
Read more >
What the FLoC?! - Scott Helme
This is a list of sites using interest-cohort in their Permissions Policy header and here is the current list. Sites opting out of...
Read more >
Add Permissions-Policy header to block Google FLoC - Drupal
Blocking FLoC is as easy as adding this header to the HTTP response: ... header to block Google's Federated Learning of Cohorts.
Read more >
Turning FLoC off using JavaScript - drag13.io
To give an option to fix this, Google provides the way to opt-out of the FLoC by using HTTP Header Permissions-Policy with the...
Read more >
Please consider opt in instead of opt out · Issue #126 · WICG/floc
The opt out HTTP response header will prevent your site from being used for FLoC training even if a script on the page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found