<script type="text/javascript"> var legacyModalPopup = showModalDialog(url, args, options); var legacyModelessPopup = showModelessDialog(url, args, options); </script>However that's far from the complete list! Microsoft is also dropping support for common JavaScript features like: MS Pinned Sites, addBehavior, window.print(), window.prompt(), window.open(), window.external, onhashchange event, onoffline event, ononline event, AddSearchProvider(), AddToFavoritesBar(), and yes even window.alert(), window.confirm(), navigator.codeName, and of course there is no ActiveXObject support in IE10 Metro.
Known Workarounds: None.
Related Issues: Too many to count.
4 comments:
Isn't this only when developing Metro apps using HTML5?
Could you provide a source for these claims? I tried to find, and could not.
@Leo Tohill - did you try clicking any of the links to those methods/objects? They all link to the JavaScript APIs and they all have the same statement printed on them!
http://msdn.microsoft.com/en-us/library/ie/ms535933%28v=vs.85%29.aspx
Here is the one from alert();
"Displays a dialog box containing an application-defined message. This method is not supported for Metro style apps using JavaScript."
Seems pretty clear that Microsoft is leaving us out to dry.
This sucks.
Ok, now I understand. This applies to "Metro style apps". It does not apply generally to IE10 on Win8. I may not be familiar enough with Win8/Metro lingo, but your title "Metro IE 10" had me believing that it applied to IE10 on Win8 in general. That would be disastrous. A change that applies only to new-style apps is acceptable (in my view) as it enforces the style that MS wants to see going forward.
Post a Comment