From b14e2b895404fabc3cba3e698cc9411ed62a0fc5 Mon Sep 17 00:00:00 2001 From: kaihenthorniwane <55228611+kaihenthorniwane@users.noreply.github.com> Date: Mon, 14 Jul 2025 16:58:34 -0700 Subject: [PATCH 1/2] add referrerpolicy origin --- src/Stack.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Stack.tsx b/src/Stack.tsx index 3848076..0fd0bb2 100644 --- a/src/Stack.tsx +++ b/src/Stack.tsx @@ -93,6 +93,7 @@ const Stack = forwardRef(function Stack({ src={project} id="responsiveIframe" className="chatbot-container" + referrerPolicy="origin" allow="microphone" style={{ position: fixed ? 'fixed' : 'static', From 3b324fa5c5c02c687336f2b9ba0e28fc1a7a51af Mon Sep 17 00:00:00 2001 From: kaihenthorniwane <55228611+kaihenthorniwane@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:01:41 -0700 Subject: [PATCH 2/2] add to vanilla stackai.js --- src/vanilla-stackai.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vanilla-stackai.js b/src/vanilla-stackai.js index d638f10..397d12c 100644 --- a/src/vanilla-stackai.js +++ b/src/vanilla-stackai.js @@ -45,6 +45,7 @@ function initializeStack() { iframe.style.width = IFRAME_WIDTH_MOBILE; iframe.style.height = IFRAME_HEIGHT_MOBILE; iframe.setAttribute('allow', 'microphone'); + iframe.setAttribute('referrerpolicy', 'origin'); document.body.appendChild(iframe);