和其他人一样,我需要在Internet Explorer 6和Internet Explorer 7上测试我的代码。现在Internet Explorer 8为开发人员提供了一些很棒的工具,我很乐意使用。我还想开始用Internet Explorer 8测试我的代码,因为它很快就会发布。

The question is: how to run Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine. So far with Internet Explorer 6 and Internet Explorer 7 I've been using Multiple IE. But people have reported (see comments on the page linked in the previous sentence) issue with Internet Explorer 6 after installing Internet Explorer 8. Those errors are related to focus in form fields. Running Internet Explorer 7 wouldn't matter so much as Internet Explorer 8 can use the Internet Explorer 7 rendering engine, but we still need Internet Explorer 6.

如何在同一台机器上运行Internet Explorer 6、Internet Explorer 7和Internet Explorer 8 ?


当前回答

我已经为这个问题纠结了一段时间。虚拟化将是一个很好的解决方案,但对我的需求来说太慢了。一台笔记本电脑只能处理这么多:在Adobe Photoshop和Illustrator旁边运行一个开发环境,然后尝试在连接到大量服务器的同时进行虚拟化,并且在后台进行许多其他事情……嗯…缓慢。

我现在有以下设置,优雅地解决了这个问题,虽然有点贵,但它是值得的:

其中一台Macbook连接到外部显示器 一台Windows桌面,安装了Windows XP和Windows Vista双启动

这两台机器都运行Synergy,在两台机器之间共享键盘和鼠标,因此我可以轻松地在两者之间切换。因为它们是独立的电脑,所以我没有任何性能问题,并且可以在我的Mac上愉快地进行Photoshop处理,而我的Windows机器仍然运行着所有浏览器。

这个设置涵盖了Yahoo!定义的分级浏览器支持的大多数浏览器。http://developer.yahoo.com/yui/articles/gbs/:

浏览器:

Firefox 2 Mac Firefox 3 Mac Firefox 3 windows Firefox 2 Windows Webkit夜间Mac Safari 3 Windows Safari 4 Mac 谷歌Chrome最新版本Windows Opera最新版本Windows Opera最新版本Mac Internet Explorer 6 (Windows机器的XP部分) Internet Explorer 8带IE7兼容模式(Windows机器的Vista部分)

包括电子邮件客户端:

苹果的邮件 雷鸟== Firefox渲染引擎(在XP机器上) Outlook Express == IE6渲染引擎 Outlook 2003(在XP机器上) Outlook 2007 (Vista机器上) 上面提到的所有浏览器上的所有流行的web客户端(Live mail, Gmail, Yahoo!邮件)

这个设置没有涵盖的东西:

我没有Mac OS 10.4 我只测试了最新版本的Opera,而不是任何早期版本(因为它的用户基础很小) 我测试了Safari 3和Safari 4,一个在Windows上,一个在Mac上,而不是两个平台上的两个版本。现在,Safari 4仍处于测试阶段;Safari一直都有一个很好的渲染引擎。 至于电子邮件客户机,我从未费心测试Lotus Notes

你可以在这里查看设置的视频。

其他回答

正如Eduardo提到的,微软最近发布的SuperPreview是一种工具,可以让你看到网页是如何在许多不同的浏览器中呈现的,即使它们没有安装在本地。

例如,即使您没有安装这些浏览器,您也可以在Internet Explorer 6、Internet Explorer 7、Internet Explorer 8、Firefox和Safari中查看页面的外观。

如果你的电脑安装了IE8,你也可以测试你的网站在IE7下是如何工作的。 当您在IE7浏览器中进入需要测试的页面时,打开“工具”->“开发人员工具”。然后在“开发人员工具”对话框的菜单中,点击“浏览器模式:[当前模式]”,在那里你可以选择3个选项。 也就是说,

IE7 IE8 IE8兼容模式

我还建议运行几个虚拟机,而不是在同一个Windows实例上运行多个版本的Internet Explorer。

微软在ie6、ie7和ie8浏览器的“Internet Explorer应用兼容性VPC镜像”下载页面提供了虚拟PC磁盘镜像。

从上述链接可用的虚拟磁盘映像的当前列表如下:

Windows XP SP3下的Internet Explorer 6 Windows XP SP3下的Internet Explorer 7 Windows XP SP3下的Internet Explorer 8 Windows Vista上的Internet Explorer 7 Windows Vista上的Internet Explorer 8

(名单截止到2009年10月11日。所有版本都有有效期。)

我的一个同事推荐了Internet Explorer Collection。它的工作似乎没有问题,但我不是一个高级用户。支持安装ie1 (!!) ~ ie8。

试试http://finalbuilds.edskes.net/iecollection.htm。

Utilu IE Collection contains multiple IE versions, which are standalone so they can be used at the same time. Conditional Comments work exactly the same as in the native versions. The original version number is shown correctly in the User Agent string. The version number can be found in the window title too. Utilu IE Collection also includes the Internet Explorer Developer Toolbar 1.00.2189.0. This Explorer Bar provides a variety of tools which make troubleshooting websites easier. The Internet Explorer Developer Toolbar is compatible with Internet Explorer 5.0 and higher when using Windows 2000 or higher. Utilu IE Collection has the option to install the Firebug Web Development Extension for Internet Explorer. Firebug provides a lot of useful tools which make web development easier...