在Firefox / Chrome页面打开IE浏览器 [英] Open IE browser in Firefox/Chrome page

查看:252
本文介绍了在Firefox / Chrome页面打开IE浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的Web应用程序基于IE9,这意味着只有IE9才能打开我们网站的页面。当浏览器不是IE9时,我们将阻止用户浏览我们的网站。
但有时我们不得不发送一个链接到用户的电子邮件框来完成一些操作,他们将直接用他们默认的浏览器打开链接,问题在这里,如果默认的浏览器不是IE9,那么他们不能打开链接,他们不得不将链接复制到IE9。我们的用户不希望手动这样做,他们希望直接在IE9中打开链接,无论默认浏览器是什么。



我已经尝试使用ActiveXObject,但它只在IE中工作。我想要一个可以在Firefox / Chrome页面打开IE浏览器的脚本。

解决方案

听起来好像你想在电子邮件中有一个链接来激活特定的用户的计算机而不是他们已经识别的程序应该被使用(例如,他们的默认浏览器)。我不相信你可以做到这一点。



你可以在Chrome和Safari中安装协议处理程序(我也怀疑是Firefox),它可以让你发送像这样的链接:ie://example.com/path/to/app 。您的协议处理程序将启动IE并带您到相关的网站。 (苹果公司在iTunes上做这个),但是你的用户将不得不安装这个处理程序(当然,你必须写下它)。

一个更简单的答案可能会让用户安装任何为Chrome,Firefox等而存在的在IE中打开附加组件/扩展程序。它们将遵循该链接,然后从某种菜单中选择在IE中打开。 (如果他们使用网络邮件,他们甚至可以右键单击该链接,并根据扩展名选择该订单项。)






附注:显然,除非不可能,否则我建议您将应用程序与Chrome和Firefox兼容。


Our Web application is based on IE9, which means only IE9 can open the pages in our site. We'll prevent user to browse our site when their browser is not IE9. But sometimes we had to send a link to user's email box to complete some actions and they will open the link directly with their default browser, the problem is here, if the default browser is not IE9 then they can't open the link, they have to copy the link to IE9. Our user don't want do this manually, they want open the link in IE9 directly no matter what the default browser is.

I have tried using ActiveXObject, but it only works in IE. I want have a script which can open IE browser in Firefox/Chrome page.

解决方案

It sounds like you want to have a link in an email that activates a specific program on the user's computer rather than the program that they've identified should be used (e.g., their default browser). I don't believe you can do that.

You can install "protocol handlers" in both Chrome and Safari (I suspect Firefox as well), which would let you send a link like ie://example.com/path/to/app. Your protocol handler would launch IE and take you to the relevant site. (Apple does this with iTunes.) But your users would have to install the handler (and, of course, you'd have to write it).

An easier answer might be to have the users install any of the ubiquitous "open in IE" add-ons/extensions that exist for Chrome, Firefox, etc. They follow the link, then choose "open in IE" from some kind of menu. (If they're using webmail, they may even be able to right-click the link and choose that line item, depending on the extension.)


Side note: Obviously, though, barring it being impossible I'd recommend making your application compatible with Chrome and Firefox.

这篇关于在Firefox / Chrome页面打开IE浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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