- From: Tim Streater <tim@clothears.org.uk>
- Date: 22 Apr 2013 18:26 +0100
- To: WhatWG List <whatwg@lists.whatwg.org>
Received on Monday, 22 April 2013 17:26:53 UTC
I need to add/remove the allow-scripts attribute to/from an iframe sandbox, since I use one frame for two purposes (sometimes with untrusted content, other times with my own content that uses JavaScript). I've tried the following: iframePtr.sandbox = "allow-popups allow-same-origin allow-scripts"; and: iframePtr.sandbox = "allow-popups allow-same-origin"; This doesn't appear to work in Safari 6.0.4. Is this the right syntax? Is such a possibility even implemented yet. -- Cheers -- Tim
Received on Monday, 22 April 2013 17:26:53 UTC