From 43f125e45d0e3f84a5ccc957cc1b5f2eb630d889 Mon Sep 17 00:00:00 2001 From: Jaxon Lewis-Wilson Date: Thu, 19 Mar 2026 23:24:51 +0800 Subject: [PATCH 1/2] Fix: QR code gen in extension settings (firefox) --- src/interface/components/ConnectMobileApp.svelte | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/interface/components/ConnectMobileApp.svelte b/src/interface/components/ConnectMobileApp.svelte index 4c7372a0..68e2cff3 100644 --- a/src/interface/components/ConnectMobileApp.svelte +++ b/src/interface/components/ConnectMobileApp.svelte @@ -13,6 +13,13 @@ let isLoading = $state(false); let isStandalone = $state(false); + function isExtensionPage(): boolean { + return ( + window.location.protocol === "chrome-extension:" || + window.location.protocol === "moz-extension:" + ); + } + function isSeqtaUrl(url: string): boolean { try { const u = new URL(url); @@ -41,7 +48,7 @@ async function getSession(): Promise<{ baseUrl: string; jsessionId: string } | null> { let baseUrl: string | undefined; - if (window.location.protocol === "chrome-extension:") { + if (isExtensionPage()) { // Extension popup: background will get URL from active tab baseUrl = undefined; } else { @@ -63,7 +70,7 @@ isLoading = true; try { - isStandalone = window.location.protocol === "chrome-extension:"; + isStandalone = isExtensionPage(); const session = await getSession(); if (!session) { From 08342c3873938fde1de863cd016059bc575d2600 Mon Sep 17 00:00:00 2001 From: Jaxon Lewis-Wilson Date: Fri, 20 Mar 2026 19:43:40 +0800 Subject: [PATCH 2/2] Fix: QR code in embedded settings (firefox) Firefox has an issue where a backdrop filter within a shadow dom breaks the drawing of the popup. This disables the filter only in the embedded menu to avoid this issue altogether. --- src/interface/components/ConnectMobileApp.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/components/ConnectMobileApp.svelte b/src/interface/components/ConnectMobileApp.svelte index 68e2cff3..544b7b99 100644 --- a/src/interface/components/ConnectMobileApp.svelte +++ b/src/interface/components/ConnectMobileApp.svelte @@ -132,7 +132,7 @@ {#if showQrModal && qrDataUrl}
{