1
0
Fork 0

Improve sandboxing

This commit is contained in:
Alex Kotov 2023-08-26 23:18:27 +04:00
parent 3303f77009
commit 288935c3e8
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -218,7 +218,10 @@
<iframe <iframe
name="preview" name="preview"
src="{{singlefile_path}}" src="{{singlefile_path}}"
sandbox="allow-same-origin allow-top-navigation-by-user-activation allow-scripts allow-forms" sandbox="allow-downloads
allow-scripts
allow-top-navigation-by-user-activation
allow-top-navigation-to-custom-protocols"
class="full-page-iframe" class="full-page-iframe"
></iframe> ></iframe>
</body> </body>