和其他人一样,我需要在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

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

其他回答

Firefox有一个插件,可以让网页呈现的效果和ie 5.5/6/7/8 beta 2一样。

IE NET渲染器

编辑:这看起来像它只做截图,所以它可能不是很有用。很好,确保你的布局没有破坏,但没有太多其他。

在同一台机器上使用Windows 7 XP模式运行IE6、IE7和IE8

http://articles.sitepoint.com/article/ie6-ie7-ie8-win7-xp-mode

我使用虚拟PC运行安装了IE6的windows实例。这比在同一台电脑上安装不同版本要笨拙一些,但它是一个100%正常运行的IE6。多个IE在大多数测试中都能很好地工作,但它缺少最后的百分之几。

不要花太多精力让页面在IE8中看起来正确,它仍然有一些小故障,很可能会在最终版本中修复。

与此相关的是,你应该考虑在站点快要完成时运行BrowserShots,看看它在几十种浏览器、几百种配置下的效果。

在我的Mac OS X电脑上,我使用Sun公司的VirtualBox,它是免费的。

我运行3个WinXP虚拟盒子,并为每个虚拟盒子分配256K。请看本教程:

http://www.10voltmedia.com/blog/2008/12/screencast-install-internet-explorer-on-osx-using-virtualbox/