Skip to content

Commit 9b5d7ca

Browse files
authored
Avoiding specific warning on Google Chrome (alshedivat#1268)
Avoids a warning that appears in the console when opening the site on Google Chrome
1 parent b806d74 commit 9b5d7ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_includes/metadata.html

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
{% if site.enable_bing_verification -%}
77
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}" />
88
{%- endif -%}
9+
<!-- Avoid warning on Google Chrome
10+
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
11+
see https://stackoverflow.com/a/75119417
12+
-->
13+
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" />
914
{%- endif %}
1015

1116
<!-- Standard metadata -->

0 commit comments

Comments
 (0)