1
0
Fork 0
forked from gitea/nas

Merge remote-tracking branch 'parent/main' into upstream-20241001

This commit is contained in:
KMY 2024-10-01 08:13:23 +09:00
commit 133a263f79
222 changed files with 1834 additions and 720 deletions

View file

@ -81,7 +81,7 @@ const allowedPrefixes = (document.currentScript && document.currentScript.tagNam
embeds.set(id, iframe);
iframe.allow = 'fullscreen';
iframe.sandbox = 'allow-scripts allow-same-origin';
iframe.sandbox = 'allow-scripts allow-same-origin allow-popups';
iframe.style.border = 0;
iframe.style.overflow = 'hidden';
iframe.style.display = 'block';
@ -112,7 +112,7 @@ const allowedPrefixes = (document.currentScript && document.currentScript.tagNam
iframe.width = container.clientWidth;
iframe.height = 0;
iframe.allow = 'fullscreen';
iframe.sandbox = 'allow-scripts allow-same-origin';
iframe.sandbox = 'allow-scripts allow-same-origin allow-popups';
iframe.style.border = 0;
iframe.style.overflow = 'hidden';
iframe.style.display = 'block';