I would like to make the new HTML5 Iframe attribute sandbox
work in IE8 and 9. I have Googled for about a day now and tried many "libraries" which are supposed to make HTML5 work, but they don't seem to have "sandbox" included.
So my question; Where can I find a polyfill/shim/plugin/snippet or anything else to make the Iframe sandbox
work in IE8/9 ?
As others have noted you cannot get this to work in JavaScript alone, I would say your best bet is to use the security="restricted" IE only attribute.
See here : http://blogs.msdn.com/b/ie/archive/2008/01/18/using-frames-more-securely.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With