0

so my file does not work properly if it is on I.E <11 so I want to redirect the user to a chrome broswer and/or provide a hyperlink to take them to chrome if they are on I.E how would I do that?

dragonn
  • 311
  • 5
  • 20
  • 1
    You are just going to have to show a big message saying dont use I.E. Think what would happen if you could decide what I run on my PC. Madness I tell you, madness – RiggsFolly Jul 21 '20 at 16:40
  • check this https://stackoverflow.com/questions/30611172/launch-chrome-browser-from-internet-explorer , but i don't think that's a good idea . – Mo Shal Jul 21 '20 at 16:43
  • 1
    _"I want to redirect the user to a chrome broswer"_ - What if they don't have chrome or don't want to use it? Also, how big of an issue is this really? There aren't really that many people that uses IE 10 and lower. – M. Eriksson Jul 21 '20 at 16:47
  • That's why I mention provide a or provide hyperlink to google chrome. – dragonn Jul 21 '20 at 16:49
  • That won't help with the _"or don't want to use it"_. Do you have any real stats how many of your users actually uses IE 10 or lower? Btw, IE10 is officially unsupported since January this year. Either way, if you do some research, you will find that there are plenty of articles about detecting IE10 and lower. Start there and make some attempts. – M. Eriksson Jul 21 '20 at 16:54
  • yes but most companies still use it. I want it so that if I were to make something for a comany one day they will be able to use it. I am using this as a learning process so when I work for a company that uses IE < 11 I will know how to do it – dragonn Jul 21 '20 at 16:58
  • also quick question if my program works for IE11 does that imply that it will work for IE 12, 13, etc – dragonn Jul 21 '20 at 17:07
  • i mean in the future. and lots of banks still use internet legacy stuff – dragonn Jul 21 '20 at 17:33
  • First [IE 11 is the last planned first of IE](https://en.wikipedia.org/wiki/Internet_Explorer#End_of_life), so don't worry about IE 12 and on. Second, you create a link to Chrome the same way that you create a link to format someone's hard drive. Wait, you can do that? **No**. Linking to another program from the web is not a thing, and any attempts to do so will be blocked at best, or trigger AV issues. You _could_ create a plugin for IE, force users to download and install the plugin, and for those users do something special, but it is so not worth it in 2020. – Chris Haas Jul 21 '20 at 17:48
  • thankyou for your comment. This was really helpful – dragonn Jul 21 '20 at 17:52

1 Answers1

0

A browser cannot launch any other applications on the machine.

I also agree with the suggestions to identify the browser and display the message that this version of the IE browser is not supported.

There are some ways like modifying the registry or by using the batch file or using the custom protocol handler to launch the Chrome browser but these are not the suitable solutions as you need to implement it on each machine.

So most suitable workaround is to inform the users of using the supported browsers by your web app.

Deepak-MSFT
  • 10,379
  • 1
  • 12
  • 19