允许跳转

This commit is contained in:
Furrium Network authored and GitHub committed 2026-08-12 09:19:00 +08:00
1 parent 320000c8b9
commit 5d71e66354
1 file changed
+1 -1
+1 -1
View File
@@ -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 allow-top-navigation allow-same-origin';
iframe.sandbox = 'allow-scripts allow-modals allow-top-navigation allow-same-origin allow-popups';
iframe.srcdoc = `
<!DOCTYPE html>
<html>