With the "
ms-https-connections-only
"meta
element value you can prevent your Windows Store app using JavaScript from using HTTP connections for navigation or other non-media web content retrievals. When you set thismeta
element's content attribute to "true
", HTTP navigation and non-media web content retrievals will fail.This
meta
tag must exist in the head of the your app's home page and must exist at the time that thedocument
fires itsload
event. This is the only time you can turn on this feature and after you set it, it remains in effect until the next time the app is started. This means thatiframe
elements in your start page that point to HTTP URIs may load if theiframe
exists and begins to load before thedocument
finishes loading.
<meta name="ms-https-connections-only" content="true"/>