From ca9b796f5e31fc7ed2650ac093c864ac1850e3d4 Mon Sep 17 00:00:00 2001 From: SnowCait Date: Tue, 17 Mar 2026 17:54:00 +0900 Subject: [PATCH] Workaround for Chromium bug --- web/src/lib/components/content/Ogp.svelte | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/src/lib/components/content/Ogp.svelte b/web/src/lib/components/content/Ogp.svelte index e8bcf6c8..6cdbc4f4 100644 --- a/web/src/lib/components/content/Ogp.svelte +++ b/web/src/lib/components/content/Ogp.svelte @@ -44,6 +44,15 @@ return; } const html = await response.text(); + + // Workaround for Chromium bug + // cause STATUS_ACCESS_VIOLATION + if (html.includes('text-scale')) { + console.debug('[OGP workaround]', url.href); + resolve(true); + return; + } + const domParser = new DOMParser(); const dom = domParser.parseFromString(html, 'text/html'); const metaTags = [...dom.head.children].filter(