mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
Add iframe sandboxing
This commit is contained in:
parent
31dad5a7eb
commit
1d77ac5829
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#edit {font-family:monospace; font-weight:bold;color:rgba(0,0,0,0.54); position:absolute;z-index:100;position:absolute;top:0.85em; right:1em; display:none;}
|
||||
#edit:not(:hover) {text-decoration:none;}
|
||||
</style>
|
||||
<iframe id="iframe"></iframe>
|
||||
<iframe id="iframe" sandbox="allow-scripts allow-forms allow-top-navigation allow-popups allow-modals"></iframe>
|
||||
<a id="edit">edit</a>
|
||||
<script type="text/javascript">
|
||||
function showEdit(editable) {
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@ CACHE MANIFEST
|
|||
|
||||
CACHE:
|
||||
/
|
||||
|
||||
|
||||
# v.3
|
||||
Loading…
Reference in a new issue