3 ms·
I've not try that but wouldn't the html meta tag work as well? Something like <head> <meta http-equiv="Cross-Origin-Embedder-Policy" content="require-co
by atom3 5y ago
I've not try that but wouldn't the html meta tag work as well?
Something like
<head>
<meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" />
<meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin" />
...
</head>
- flohofwoe 5y agoApparently not, but I haven't tried myself: https://stackoverflow.com/questions/67259043/can-coop-coep-headers-be-set-with-meta-tags-http-equiv https://stackoverflow.com/questions/67259043/can-coop-coep-h...
- Jasper_ 5y agoNo, http-equiv only supports a hard-coded whitelist of headers. https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives https://html.spec.whatwg.org/multipage/semantics.html#pragma...
- infogulch 5y agoIt seems the answer to the question "wouldn't this work" is "no", but I'd ask "shouldn't this work?" what's the problem with this being configured in a meta tag?