diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue index 45477ea3..de37c1ff 100644 --- a/src/contentScripts/views/App.vue +++ b/src/contentScripts/views/App.vue @@ -254,7 +254,13 @@ function openIframeDrawer(url: string) { const currentUrl = new URL(location.href) const destination = new URL(url) - if (!isSameOrigin(currentUrl, destination)) { + try { + if (!isSameOrigin(currentUrl, destination)) { + openLinkToNewTab(url) + return + } + } + catch { openLinkToNewTab(url) return }