コンテンツをサンドボックス化されたビューに表示する必要があります。ほとんどの場合、フルHTMLドキュメント(<html>...</html>
)です。私は、src datauriでサンドボックスのiframeを使用しています。任意の解決策/回避策は、残念ながら、それはInternet ExplorerでサポートされていませんIE-IFRAMES/Data Uri
var
iframe = document.createElement('iframe'),
content = '<html><head></head><body><h1>Hello</h1></body></html>'
;
iframe.sandbox = '';
iframe.src = 'data:text/html;charset=utf-8,' + content;
document.body.appendChild(iframe);
... ありますか?