improve(apps): make iframe sandbox flags more liberal (#1072)

This commit is contained in:
celestora 2023-12-22 15:57:39 +03:00 committed by GitHub
parent 5617572967
commit ecb778b2db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,8 @@
{block content}
<center>
<iframe id="appFrame" referrerpolicy="unsafe-url" sandbox="allow-scripts" frameBorder="0" src="{$url}" height="600" width="600"></iframe>
<iframe id="appFrame" referrerpolicy="unsafe-url" frameBorder="0" src="{$url}" height="600" width="600"
sandbox="allow-scripts allow-same-origin allow-pointer-lock allow-forms allow-downloads-without-user-activation"></iframe>
</center>
<div n:if="!is_null($news)" id="news">