HackTJ / HackTJ/live

Disable FLoC

Open
#71 0 comments 0 reactions 1 assignee Claimed by @sumanthratna View on GitHub
Dominant language
HTML
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

# Background

We do this on our main website ([because of GitHub Pages](https://github.blog/changelog/2021-04-27-github-pages-permissions-policy-interest-cohort-header-added-to-all-pages-sites/)). To be honest, I doubt FLoC will learn anything really useful from people who use Live, but it doesn't hurt to set this header.

(see https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea for why FLoC is bad. SvelteKit has recently adopted this change)

# Implementation
pretty simple, just set the header in a middleware so it's applied on all responses

https://stackoverflow.com/a/36099405/7127932

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.