Open a link in a specific browser

后端 未结 2 784
甜味超标
甜味超标 2020-12-11 21:53

I have a web application which runs on all browsers but there is a link to another application which can only run in Internet Explorer. How I can force browser to open this

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-11 22:21

    Most probably, using resources of JavaScript and HTML5, you cannot run applications on end user's computer. Moreover, it sounds incorrect in terms of security and usability.

    The best thing you can do is to write a message like "Open this link in IE" near your link.
    At the final page, you can detect a user's browser and, in case it is not an IE, show him a message "Unfortunately, this web-page works only with IE. Please, open it in IE".

    By the way, could you tell us, why your page is not working in other browsers? Probably, we will find a proper answer there.

提交回复
热议问题