From dae2f170bb4772720c3bdc82f31dc498141d0507 Mon Sep 17 00:00:00 2001 From: Bret Comnes <166301+bcomnes@users.noreply.github.com> Date: Wed, 22 May 2024 14:32:51 -0700 Subject: [PATCH] Support COEP with credentialless iframe When embedding the iframe in a site that sets COEP headers, the iframe refuses to load in chrome and Firefox. Adding the credentialless attribute to the iframe allows the iframe to load in chrome, and soon, Firefox. https://developer.mozilla.org/en-US/docs/Web/Security/IFrame_credentialless --- web/src/giscus.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/giscus.ts b/web/src/giscus.ts index 75716718..af35a242 100644 --- a/web/src/giscus.ts +++ b/web/src/giscus.ts @@ -369,6 +369,7 @@ export class GiscusWidget extends LitElement { render() { return html`