From e7a69d68dfd1f8e3dd68112bd6ef2fa9ab9916ae Mon Sep 17 00:00:00 2001 From: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:17:00 +0530 Subject: [PATCH] fixed the issue with the copy link button not working in the extension (#27048) --- companion/extension/entrypoints/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/companion/extension/entrypoints/content.ts b/companion/extension/entrypoints/content.ts index f178c91c72..ce6a5a5a80 100644 --- a/companion/extension/entrypoints/content.ts +++ b/companion/extension/entrypoints/content.ts @@ -69,6 +69,9 @@ export default defineContentScript({ const COMPANION_URL = (import.meta.env.EXPO_PUBLIC_COMPANION_DEV_URL as string) || "https://companion.cal.com"; iframe.src = COMPANION_URL; + // Enable clipboard access for the cross-origin iframe + // This allows the companion app to use navigator.clipboard.writeText() + iframe.allow = "clipboard-write; clipboard-read"; // Use explicit dimensions - Brave has issues with percentage-based sizing iframe.style.cssText = ` position: absolute !important;