Skip to content

Commit

Permalink
Protect Chrome-users from being tracked, a.k.a. FLoC off Google.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ida Ebkes committed Apr 18, 2021
1 parent fadced5 commit fa239a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@

## 1.1 ()

* Protect Chrome-users from being tracked, a.k.a. FLoC off Google.

## 1.0.9 (2021-03-26)

Expand Down
2 changes: 2 additions & 0 deletions lib/answer_request.js
Expand Up @@ -31,6 +31,8 @@ function sendAnswer(response, answer, contentType, statusCode=200) {

responseHead['Access-Control-Allow-Headers'] = 'Origin, X-Requested-With, Content-Type, Accept'

responseHead['Permissions-Policy'] = 'interest-cohort=()' # FLoC off!

response.writeHead(statusCode, responseHead)

response.end(answer)
Expand Down

0 comments on commit fa239a3

Please sign in to comment.