Rickzzz
asked on
Windows 10 / Microsoft Edge Browser - This website needs Internet Explorer...
We have a public application that will fail in Edge. We want to pop that message so the users know they can click and "Open with Internet Explorer". So, we really want the same behavior experienced if you open support.dell.com in Edge. It will throw that page to open in IE instead. How do we do that? Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The other answer is that Edge is new and does not work with everything out there. I have Windows 10 Pro 64-bit and use IE 11 and it works with everything. Just use IE for the time being.
ASKER
Thanks it_saige. I guess I'm confused though. Doesn't Edge pop that page based on a tag or script in the page initially opened that isn't compatible?
I guess I'm assuming there's something in the default page @ http://support.dell.com that's forcing the Edge browser to throw that web page stating use IE or continue in Edge.
I guess I'm assuming there's something in the default page @ http://support.dell.com that's forcing the Edge browser to throw that web page stating use IE or continue in Edge.
ASKER
So is it something like this in the loaded page not supported?
<script type="text/javascript">
if (navigator.userAgent.indexOf('Edge') != -1)
{
// Edge not supported
document.location = "http://www.SomeMicrosoftWebsite/page";
}
</script>
Something like that. Here is one example:
INDEX.HTML
INDEX.HTML
<html>
<head>
<title>Fun with UserAgent-String</title>
<script>
<!--
var isEdge = { function() { return navigator.userAgent.match("Edge\/\d+"); } };
if (isEdge)
window.location = <redirect to some page that warns them about edge or otherwise>
//-->
</script>
</head>
Your browser is supported.
</html>
-saige-
ASKER
Thanks