Asked by:
Requesting improved IFrame support for WinJS apps

General discussion
-
I'm receiving an increasing amount of complaints from users of my (otherwise very successful) RSS News Reader app. The issue is that as a HTML5/WinJS app I have to rely on an IFrame to display the full post content when the user choses to view a feed item in Browser.
At the current rate of sites adding Javascript based Frame-Busting and/or X-Frame-Options HTTP headers in order to prevent click-jacking, this problem will only get worse over time.
In order to keep HTML5 apps that display external HTML content useful over time, improvements to the IE IFrame element when used within an app would be greatly appreciated.
- Changed type Rob Caplan [MSFT]Microsoft employee, Moderator Friday, December 14, 2012 1:17 AM Feature request, not a question with a definitive answer
Thursday, October 25, 2012 8:46 AM
All replies
-
Hi,
Maybe you could just load the part of the content winjs.xhr .
#WinJS.xhr function
http://msdn.microsoft.com/en-us/library/windows/apps/br229787.aspx.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code FrameworkSaturday, October 27, 2012 7:00 AM -
I'm talking about full web pages here including external script resources. That would never work.Saturday, October 27, 2012 8:49 AM
-
I strongly oppose Song Tian's answer to marked to be correct becaue it is clearly not. No thought has been giving about the real problem.Friday, November 9, 2012 7:45 AM
-
I have run into this issue as well for my app and am seriously considering switching to c#. This is a breaking limitation for meSunday, December 9, 2012 8:27 PM
-
We are running into same problem. Microsoft, you need to fix this. What is the point of having an iframe when I cannot load any site I want. We do not want to move to C# for our app. At least let us wrap the C# WebView and put it into WinJS. This currently does not work either.Thursday, December 13, 2012 8:31 PM
-
Just wanted to circle back to the thread.
Windows fulfilled this feature request by enabling the WebView (Found in XAML c#) to WinJS apps:
http://msdn.microsoft.com/en-us/library/windows/apps/dn301831.aspxFriday, August 23, 2013 7:01 PM