Blog We love to talk!

Nov Tue

Cross Browser sandbox attribute for iframes

  •  11-10-2015
cross browser testing

Sandbox attribute for iframes is the method of running external site pages with reduced privileges (e.g. no JavaScript) in iframes.

Browser Support

Sandbox attribute for iframes is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use sandbox attribute for iframes like this:

<iframe src="demo_iframe.htm" sandbox></iframe>

More Information

More information can be found here.

No Comments

Leave a Reply

Your email address will not be published.