Rev420, Ignore file delete errors, Schedule download user files later if first content.json failed at first try, Reload content.json content after cloning, Allow modals on owned sites to display coffeescript compile errors, Disable opener checking because its easy to dodge
This commit is contained in:
parent
6ae0c1a626
commit
93312ae129
5 changed files with 26 additions and 6 deletions
|
@ -18,9 +18,11 @@ if (window.self !== window.top) window.stop();
|
|||
if (window.self !== window.top && document.execCommand) document.execCommand("Stop", false)
|
||||
|
||||
// Dont allow site to load in a popup
|
||||
/*
|
||||
if (window.opener) document.write("Opener not allowed")
|
||||
if (window.opener && document.execCommand) document.execCommand("Stop", false)
|
||||
if (window.opener && window.stop) window.stop()
|
||||
*/
|
||||
</script>
|
||||
|
||||
<div class="progressbar">
|
||||
|
@ -52,7 +54,7 @@ if (window.opener && window.stop) window.stop()
|
|||
|
||||
|
||||
<!-- Site Iframe -->
|
||||
<iframe src='about:blank' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups"></iframe>
|
||||
<iframe src='about:blank' id='inner-iframe' sandbox="allow-forms allow-scripts allow-top-navigation allow-popups {sandbox_permissions}"></iframe>
|
||||
|
||||
<!-- Site info -->
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue