Allow sites to lock pointer (#2059)

Add `allow-pointer-lock` to iframe sandbox
This commit is contained in:
Ivanq 2019-06-30 17:39:17 +03:00 committed by ZeroNet
parent 1117569148
commit d278a30d19

View file

@ -70,7 +70,7 @@ else if (window.opener && window.opener.location.toString()) {
<!-- Site Iframe -->
<iframe src='about:blank' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups allow-modals allow-presentation {sandbox_permissions}" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" oallowfullscreen="true" msallowfullscreen="true"></iframe>
<iframe src='about:blank' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups allow-modals allow-presentation allow-pointer-lock {sandbox_permissions}" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" oallowfullscreen="true" msallowfullscreen="true"></iframe>
<!-- Site info -->
<script id="script_init" nonce="{script_nonce}">