Improve sandboxing
This commit is contained in:
parent
3303f77009
commit
288935c3e8
1 changed files with 4 additions and 1 deletions
|
@ -218,7 +218,10 @@
|
|||
<iframe
|
||||
name="preview"
|
||||
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"
|
||||
></iframe>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue