5

有几个有用的 JavaScript 和 .htc 行为可以修补 Internet Explorer 渲染引擎中的漏洞和错误功能。似乎它们中的大多数都有一些重叠或不完整的功能支持,很难决定使用什么:

如果您还有更多信息,请添加到此列表中:这是一个社区 wiki。

您喜欢哪些脚本?有什么好处、限制和陷阱?

更新:这些脚本现在通常称为“Polyfills”

4

3 回答 3

2

不是脚本,但可能值得一提的是Google Chrome Frame插件:

Google Chrome Frame 是一个开源插件,它将 Google Chrome 的开放网络技术和快速的 JavaScript 引擎无缝地引入 Internet Explorer。使用 Google Chrome Frame,您可以:

  • 立即开始使用开放式 Web 技术(例如 HTML5 画布标签),即使是 Internet Explorer 6、7 或 8 尚不支持的技术。

  • 利用 JavaScript 性能改进,使您的应用程序更快、响应更快。

于 2010-09-10T23:59:19.153 回答
1

HTML5 Shiv:HTML5 IE 启用脚本。

但基本上,这些脚本可以完成工作,但代价是性能问题等。有一些可接受的解决方法,例如使用“PNG8 alpha 透明度”作为 PNG fix 的替代品。这只是项目类型的问题。

于 2010-11-16T09:47:46.857 回答
-2

我还建议 Blueprint CSS

http://www.blueprintcss.org/

引用他们的网站..

蓝图必须提供什么?

* A CSS reset that eliminates the discrepancies across browsers.
* A solid grid that can support the most complex of layouts.
* Typography based on expert principles that predate the web.
* Form styles for great looking user interfaces.
* Print styles for making any webpage ready for paper.
* Plugins for buttons, tabs and sprites.
* Tools, editors, and templates for every step in your workflow.
于 2010-11-16T09:53:57.777 回答