   {
                        SetState(getUrl(), true);

                        if (!IsWaitForUserInput())
                        {
                            LaunchEdge(true);
                        }
                    }

                    // Set the checkbox value
                    document.getElementById("autolaunch").checked = autoLaunch;

                    // Show the enterprise string
                    document.getElementById("neededge_body").style.display = "none";
                    document.getElementById("neededge_configured_automatic_open").style.display = "block";
                    if (IsInPrivate())
                    {
                        document.getElementById("neededge_configured_automatic_open_inprivate").style.display = "block";
                    }
                    else
                    {
                        document.getElementById("neededge_configured_automatic_open_inprivate").style.display = "none";
                    }
                }
                else if (IsRestrictIE())
                {
                    if (!IsInPrivate())
                    {
                        if (!IsWaitForUserInput())
                        {
                            LaunchEdge(true);
                        }
                        
                        document.getElementById("neededge_configured_automatic_open_inprivate").style.display = "none";
                    }
                    else
                    {
                        document.getElementById("neededge_configured_automatic_open_inprivate").style.display = "block";
                    }

                    // Hide the checkbox
                    document.getElementById("checkboxTable").style.display = "none";

                    // Show Consumer string
                    document.getElementById("neededge_body").style.display = "block";
                    document.getElementById("neededge_configured_automatic_open").style.display = "none";
                }
                else // consumer page
                {
                    // Hide the checkbox
                    document.getElementById("checkboxTable").style.display = "none";

                    // Show Consumer string
                    document.getElementById("neededge_body").style.display = "block";
                    document.getElementById("neededge_configured_automatic_open").style.display = "none";
                    document.getElementById("neededge_configured_automatic_open_inprivate").style.display = "none";
                }
            }
            else
            {
                // Hide the checkbox, button, and "continue" link in iframes
                document.getElementById("checkboxTable").style.display = "none";
                document.getElementById("launchEdge").style.display = "none";
                document.getElementById("ContinueInIE").style.display = "none";
            }

            // Populate ContinueInIE link
            document.getElementById("ContinueInIE").href = getFullUrl();

            goToLocalizedErrorPage();
        }

        getFullUrl = function ()
        {
            var docUrl = document.location.href;
            var beginIndex = docUrl.indexOf('#') + 1;
            return docUrl.substring(beginIndex);
        }

        // Returns the code for whether or not we are InPrivate:
        // 0 = Not InPrivate
        // 1 = Yes InPrivate
        getInPrivate = function () {
            var docUrl = document.location.href;
            var inprivateStr = '?inprivate=';
            var beginIndex = docUrl.indexOf(inprivateStr) + inprivateStr.length;
            var lastIndex = docUrl.indexOf('&', beginIndex);
            // Check that the '?inprivate=' comes before '&reason=', so that we aren't searching the reason/error url
            if (beginIndex < lastIndex) {
                return docUrl.charAt(beginIndex);
            }
            return false;
        }

        // Returns the code for why we navigated to NeedEdge:
        // 0 = No transition/Error
        // 1 = EMIE Site List
        // 2 = EMIE Site List with allow-redirect
        // 3 = Intranet Policy is set
        // 4 = Cloud CV List
        // 5 = Keep in IE
        // 6 = Restrict IE
        getReason = function ()
        {
            var docUrl = document.location.href;
            var reasonStr = '&reason=';
            var beginIndex = docUrl.indexOf(reasonStr) + reasonStr.length;
            var lastIndex = docUrl.indexOf('&', beginIndex);
            // Check that the '&reason=' comes before '&waitforuserinput=', so that we aren't searching the error url
            if (beginIndex < lastIndex)
            {
                return docUrl.charAt(beginIndex);
            }
            return 0;
        }

        // Returns the code for whether or not we should wait for the user input and not launch Edge automatically:
        // 0 = No - Don't wait for user input
        // 1 = Yes - Wait for user input
        getWaitForUserInput = function () {
            var docUrl = document.location.href;
            var waitForUserStr = '&waitforuserinput=';
            var beginIndex = docUrl.indexOf(waitForUserStr) + waitForUserStr.length;
            var lastIndex = docUrl.indexOf('#', beginIndex);
            // Check that the '&waitforuser=' comes before '#<url>', so that we aren't searching the reason/error url
            if (beginIndex < lastIndex) {
                return docUrl.charAt(beginIndex);
            }
            return false;
        }

        IsInPrivate = function ()
        {
            // If NeedEdge is showing InPrivate
            var inPrivate = getInPrivate();
            return (inPrivate == 1);
        }

        IsRestrictIE = function ()
        {
            var reason = getReason();
            return (reason == 6 /* BROWSERTRANSITIONREASON_RESTRICTIE */);
        }

        IsEnterprise = function ()
        {
            // If NeedEdge is showing because the URL was Enterprise SiteList (1/2)
            var reason = getReason();
            return (reason == 1 /* BROWSERTRANSITIONREASON_EMIE_SITELIST */
                 || reason == 2 /* BROWSERTRANSITIONREASON_EMIE_SITELIST_ALLOW_REDIRECT */);
        }

        IsWaitForUserInput = function ()
        {
            // If NeedEdge page is showing because ShowMessageWhenOpeningSitesInMicrosoftEdge option is set to 1
            var waitForUserInput = getWaitForUserInput();
            return (waitForUserInput == 1);
        }

        IsTopLevel = function ()
        {
            return (window.top == window.self);
        }

        // Returns true if we have state saved in registry for this site
        HasState = function (url)
        {
            return window.external.HasNeedIEAutoLaunchFlag(url);
        }

        // Get the auto-launch preference from registry
        GetState = function (url)
        {
            return window.external.GetNeedIEAutoLaunchFlag(url);
        }

        // Set the auto-launch preference from registry
        SetState = function (url, state)
        {
            window.external.SetNeedIEAutoLaunchFlag(url, state);
        }

        LaunchEdge = function (automated)
        {
            window.external.LaunchIE(getFullUrl(), automated);
        }

        OnAutoLaunchClicked = function (checkbox)
        {
            SetState(getUrl(), checkbox.checked);
        }

        // Launch URL in Edge
        OnLaunchEdgeClicked = function ()
        {
            SetState(getUrl(), document.getElementById("autolaunch").checked);
            LaunchEdge(false);
        }

    </script>
</head>

<body>
    <div id="Wrapper">
        <div id="NotConnected">
            <table>
                <tr>
                    <td>
                        <img id="imageicon" alt="Microsoft Edge" style="font-weight:normal" src="EdgeLogo.svg"/>
                    </td>
                    <td>
                        <h1 id="neededge_header">This website needs Microsoft Edge</h1>
                        <p id="neededge_body">
                            This website uses technology that works best in the new browser, Microsoft Edge.
                        </p>
                        <p id="neededge_configured_automatic_open" style="display:none">Your organization has set this site to automatically open in the new browser, Microsoft Edge, because it uses technology that works best in that browser.</p>
                        <p id="neededge_configured_automatic_open_inprivate" class="errorText" style="display:none">You won’t be browsing InPrivate when you open the site in this browser.</p>
                        <br />
                        <button id="launchEdge"
                                class="pushbutton"
                                type="submit"
                                onclick="OnLaunchEdgeClicked();">
                            <id id="neededge_open_in_edge">Open with Microsoft Edge</id>
                        </button>
                        <table id="checkboxTable" style="margin:16px 0px 0px 0px">
                            <tr>
                                <td class="checkboxes">
                                    <label>
                                        <input type="checkbox" id="autolaunch" onclick="OnAutoLaunchClicked(this);" />
                                        <span class="text-body">
                                            <id id="neededge_automatically_open">Automatically open this site with Microsoft Edge in the future</id>
                                        </span>
                                    </label>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <br />
                        <br />
                        <a id="ContinueInIE" href=""><id id="neededge_open_in_ie">Keep going in Internet Explorer</id></a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>
PA﻿<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8" />
    <title>Windows Defender Application Guard needed</title>
    <link rel="stylesheet" type="text/css" href="ErrorPageStyles.css">
    <script src="ErrorPageScripts.js" type="text/javascript"></script>
    <script type="text/javascript">
        "use strict";

        window.onload = function () {
            // Determine if we are in the network isolation api fail case, and change the
            // page accordingly.
            if (IsNetworkIsolationApiErrorPage())
            {
                document.getElementById("needhvsi_untrusted_url_page").style.display = "none";
            }
            else
            {
                document.getElementById("needhvsi_network_isolation_api_fail_page").style.display = "none";
            }

            if (HasHVSIAlreadyLaunched())
            {
                // If HVSI has already launched, do not show launch button.
                document.getElementById("LaunchInHVSI").style.display = "none";
            }

            goToLocalizedErrorPage();
        };

        function IsNetworkIsolationApiErrorPage()
        {
            return (findValue("networkApiFail=") === "1");
        }

        function HasHVSIAlreadyLaunched()
        {
            return (findValue("hvsiStarted=") === "1");
        }

        // Launch URL in HVSI
        function OnLaunchInHVSIClicked()
        {
            window.external.LaunchInHVSI(getNavigationURL());
        }
    </script>
</head>
<body>
    <div id="Wrapper">
        <div id="NotConnected">
            <table>
                <tr>
                    <td>
                        <img id="imageicon" alt="Windows Defender Application Guard" style="font-weight:normal" src="HvsiIcon.svg"/>
                    </td>
                    <td>
                        <div id="needhvsi_untrusted_url_page">
                            <h1 id="needhvsi_untrusted_url_header">This page opens in Application Guard for Microsoft Edge</h1>
                            <p id="needhvsi_untrusted_url_body">
                                To help protect your PC, you&rsquo;ll need to browse this page in a separate environment for Microsoft Edge.
                                Some features of the browser might be restricted in Application Guard.
                            </p>
                            <br />
                            <button id="LaunchInHVSI"
                                    class="pushbutton"
                                    type="submit"
                                    onclick="OnLaunchInHVSIClicked();">
                                <!-- Use ID tag for localization -->
                                <id id="needhvsi_open_in_hvsi">Open in Application Guard</id>
                            </button>
                        </div>
                        <div id="needhvsi_network_isolation_api_fail_page">
                            <h1 id="needhvsi_network_isolation_api_fail_header">We can&rsquo;t open this page right now</h1>
                            <p id="needhvsi_network_isolation_api_fail_body1">Try this</p>
                            <ul>
                                <li><a href="#" onclick="clickRefresh(); return false;"><id id="needhvsi_network_isolation_api_fail_refresh">Refresh</id></a></li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html> 
﻿body
{
    background-repeat: repeat-x;
    background-color: white;
    font-family: "Segoe UI", "verdana", "arial";
    margin: 0em;
    color: #1f1f1f;
}

.mainContent
{
    margin-top:80px;
    width: 700px;
    margin-left: 120px;
    margin-right: 120px;
}

.title
{
    color: #54b0f7;
    font-size: 36px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 24px;
    font-family: "Segoe UI", "verdana";
    position: relative;
}

.errorExplanation
{
    color: #000000;
    font-size: 12pt;
    font-family: "Segoe UI", "verdana", "arial";
    text-decoration: none;
}

.taskSection
{
    margin-top: 20px;
    margin-bottom: 28px;
    position: relative; 
}

.tasks
{
    color: #000000;
    font-family: "Segoe UI", "verdana";
    font-weight:200;
    font-size: 12pt;
}

li
{
    margin-top: 8px;
}

.diagnoseButton
{
    outline: none;
    font-size: 9pt;
}

.launchInternetOptionsButton
{
    outline: none;
    font-size: 9pt;
}

.webpageURL
{
    direction:ltr;
}

.hidden
{
    display:none;
}

a
{
    color: #0f82dc;
    font-family: "Segoe UI", "verdana", "arial"; 
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

.shieldImage
{
    margin-bottom: 12px;
    padding-right: 8px;
    vertical-align: text-top;
}

#errorCode
{
    color: #767676;
}

.BaseTextBlockStlye
{
    font-size: 15px;
    font-weight: 600;
}

.BaseAltTextBlockStyle
{
    font-size: 15px;
    font-weight: bold;
}

.BodyTextBlockStyle
{
    font-size: 15px;
}
﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML DIR="LTR">
<HEAD>
<link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css" />
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<TITLE>Add-ons disabled</TITLE>
</HEAD>
<BODY>
<table width="565" cellpadding="0" cellspacing="0" border="0">
<!-- Title -->
	<tr>
		<td id="addonDisableIconAlign" width="60" align="left" valign="top">
			<img src="noaddon.png" height="48" width="48" id="addonDisableIcon" alt="Add-ons disabled image">
		</td>
		<td id="Heading1Align" valign="middle" align="left" width="*">
			<h1 id=Heading1>Internet Explorer is currently running without add-ons</h1>
		</td>
	</tr>

	<tr>
		<td colspan="2" >
			<div class="divider"></div>
		</td>
	</tr>

<!-- Body -->
	<tr>
		<td>
			&nbsp;
		</td>
		<td id="Heading2Align" valign="top" align="left">
			<h2 id=Heading2>All Internet Explorer add-ons, such as ActiveX controls or toolbars, are turned off. 