We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1febc0 + 3b324fa commit 583bcf6Copy full SHA for 583bcf6
src/Stack.tsx
@@ -93,6 +93,7 @@ const Stack = forwardRef(function Stack({
93
src={project}
94
id="responsiveIframe"
95
className="chatbot-container"
96
+ referrerPolicy="origin"
97
allow="microphone"
98
style={{
99
position: fixed ? 'fixed' : 'static',
src/vanilla-stackai.js
@@ -45,6 +45,7 @@ function initializeStack() {
45
iframe.style.width = IFRAME_WIDTH_MOBILE;
46
iframe.style.height = IFRAME_HEIGHT_MOBILE;
47
iframe.setAttribute('allow', 'microphone');
48
+ iframe.setAttribute('referrerpolicy', 'origin');
49
50
document.body.appendChild(iframe);
51
0 commit comments