简体   繁体   English

将用户从 Internet Explorer 重定向到 php/html 网站上的 Chome

[英]redirect user from Internet explorer to Chome on php/html website

so my file does not work properly if it is on IE <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 IE how would I do that?所以我的文件在 IE <11 上无法正常工作所以我想将用户重定向到 chrome 浏览器和/或提供一个超链接以将他们带到 chrome 如果他们在 IE 上我该怎么做?

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.我也同意识别浏览器并显示不支持此版本 IE 浏览器的消息的建议。

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.有一些方法,如修改注册表或使用批处理文件或使用自定义协议处理程序来启动 Chrome 浏览器,但这些不是合适的解决方案,因为您需要在每台机器上实现它。

So most suitable workaround is to inform the users of using the supported browsers by your web app.所以最合适的解决方法是通过您的 web 应用程序通知用户使用支持的浏览器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM