[web-php] master: Opt out of FLoC
| From: | Sara Golemon | Date: | Tue, 20 Apr 2021 01:26:46 +0000 |
| Subject: | [web-php] master: Opt out of FLoC | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29235@lists.php.net to get a copy of this message | ||
Author: Sara Golemon (sgolemon)
Date: 2021-04-20T01:25:47Z
Commit: https://github.com/php/web-php/commit/9bc507afae21c9da1c30ee1ab0654fea8150549b
Raw diff: https://github.com/php/web-php/commit/9bc507afae21c9da1c30ee1ab0654fea8150549b.diff
Opt out of FLoC
Changed paths:
M include/prepend.inc
Diff:
diff --git a/include/prepend.inc b/include/prepend.inc
index 692a98b42..04adab830 100644
--- a/include/prepend.inc
+++ b/include/prepend.inc
@@ -11,6 +11,9 @@
header("Content-language: en");
header("Content-type: text/html; charset=utf-8");
+// Opt out of FLoC
+header("Permissions-Policy: interest-cohort=()");
+
/* Fix Silly Same Origin Policies */
(function() {
if (!isset($_SERVER["HTTP_ORIGIN"])) {