Merge commit '03210085b7481568cc507f088144aaf1dae73c88' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2024-09-30 13:04:19 +02:00
63 changed files with 295 additions and 73 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';