2

[Feature request] Set HTTP header to opt out of FLoC in GitHub Pages

 3 years ago
source link: https://github.community/t/feature-request-set-http-header-to-opt-out-of-floc-in-github-pages/174978/7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
[Feature request] Set HTTP header to opt out of FLoC in GitHub Pages

For GitHub Pages, we ought to be able to opt out of computation in Google’s Federated Learning of Cohorts (FLoC) 1.8k.

Currently this is not possible via HTML, see <https://github.com/WICG/floc/pull/47 79>:

How do you opt out if you are on a shared hosting plan where you can’t set HTTP headers?
dmarti 1

There isn’t a way right now, and I agree that we should add one.
michaelkleber 8

Therefore, can we have GitHub Pages set the required header for opting out 31?

For example, a site can opt out of all FLoC cohort calculation by sending the HTTP response header:

Permissions-Policy: interest-cohort=()

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK