From 320000c8b9e470cf9f59748c458be7c1ecbaffd1 Mon Sep 17 00:00:00 2001 From: Furrium Network Date: Wed, 12 Aug 2026 09:15:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E7=82=B9=E5=87=BBiframe?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E8=B6=85=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 24b6a44..3882ccf 100644 --- a/js/app.js +++ b/js/app.js @@ -458,7 +458,7 @@ function showCustomPage(pageName) { API.getCustomPage(pageName).then(page => { const iframe = document.createElement('iframe'); iframe.style.cssText = 'width:100%;min-height:70vh;border:none;border-radius:8px;background:var(--surface);'; - iframe.sandbox = 'allow-scripts allow-modals'; + iframe.sandbox = 'allow-scripts allow-modals allow-top-navigation allow-same-origin'; iframe.srcdoc = `