从Internet Explorer启动Chrome浏览器 [英] Launch Chrome browser from Internet Explorer

查看:206
本文介绍了从Internet Explorer启动Chrome浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Web应用程序,该Web应用程序具有仅适用于Chrome的某些功能,我想使用Google chrome浏览器启动该Web应用程序,并通过超链接从Internet Explorer将该Web应用程序的URL作为参数.我尝试过

We have a web application which has some features that works only in Chrome and I want to launch this web app using Google chrome browser with url of the web app as parameter from Internet explorer via a hyperlink. I tried

file:///C:/Program%20Files%20(x86)/Google/Chrome/application/chrome.exe

file:///C:/Program%20Files%20(x86)/Google/Chrome/application/chrome.exe

但是它下载文件+如何将参数添加到exe.

but it downloads the file + how do I add parameter to the exe.

推荐答案

默认情况下,浏览器无法启动其他程序(插件和扩展名可能是例外).如果可以,请想象一些恶意用户可能会遭受的破坏.

By default, a browser cannot launch another program (plugins and extensions being possible exceptions). If they could, imagine the havoc some malicious user could get up to.

我认为这不会是一个很好的答案,但是您可以制作一个.bat文件,以将chrome打开到特定的URL(假设您使用的是Windows),然后下载该文件并在其上单击下载.

I don't think there's going to be a great answer for this, but you could make a .bat file that opens chrome to a particular URL (assuming you're using Windows), download that and click on it after it downloads.

此处是一个有用的答案,情况.

Here is a useful answer in that case.

您也可以(理论上)扩展或降低IE上的安全设置以允许ActiveX控件. 此处是部分解决方案.我曾尝试做类似的事情,但运气不佳,但是如果您确定的话...

You could also (theoretically) make an extension or lower the security settings on IE to allow ActiveX controls. Here's a partial solution. I tried to make something similar a while back and didn't have much luck, but if you're determined...

也许有一种更好的方法不涉及如此复杂的解决方案?

Maybe there's a better way that doesn't involve such complicated solutions?

这篇关于从Internet Explorer启动Chrome浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆