I've tried to use iframe to open an Url in windows app built with WinJS.
The problem is that, in this page there're several links with target=_blank. When these links are clicked, the default web browser is opened when no sandbox attributes in iframe, or nothing happens when I set sandbox with any value(I've tried allow-scripts,
allow-popups, allow-forms, allow-same-origin). But my purpose is that all links could be displayed in iframe in app. What's more, there's some file downloading links which need to be disabled.
There's no way to modify the content in the iframe for security.
I've tried to use WinJS.xhr to request the HTML and save it as a local file which could be referenced by iframe. But some pieces of js code in the page modifying innerHTML is denied also for security reason.
Is there any way to solve this problem? Thank you for your attention.