From 7b8e031ab5b6366f70b964069ab1913aa8cb906a Mon Sep 17 00:00:00 2001 From: Harald Leithner Date: Sun, 10 Apr 2022 10:36:39 +0200 Subject: [PATCH 1/2] Remove FLoC Header Google announced that it is discontinuing FLoC. --- lib/Controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Controller.php b/lib/Controller.php index d16a8cac..b6cd1e8c 100644 --- a/lib/Controller.php +++ b/lib/Controller.php @@ -342,7 +342,6 @@ class Controller header('Cross-Origin-Resource-Policy: same-origin'); header('Cross-Origin-Embedder-Policy: require-corp'); header('Cross-Origin-Opener-Policy: same-origin'); - header('Permissions-Policy: interest-cohort=()'); header('Referrer-Policy: no-referrer'); header('X-Content-Type-Options: nosniff'); header('X-Frame-Options: deny'); From 4b3d11c9885fa098e56b2609e5d7091d771e09e6 Mon Sep 17 00:00:00 2001 From: Harald Leithner Date: Sun, 10 Apr 2022 11:28:52 +0200 Subject: [PATCH 2/2] Add browsing-topics premission policy --- lib/Controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Controller.php b/lib/Controller.php index b6cd1e8c..a6fd0a5b 100644 --- a/lib/Controller.php +++ b/lib/Controller.php @@ -342,6 +342,7 @@ class Controller header('Cross-Origin-Resource-Policy: same-origin'); header('Cross-Origin-Embedder-Policy: require-corp'); header('Cross-Origin-Opener-Policy: same-origin'); + header('Permissions-Policy: browsing-topics=()'); header('Referrer-Policy: no-referrer'); header('X-Content-Type-Options: nosniff'); header('X-Frame-Options: deny');