术语:
Polyfills and shims:it consist of carefully crafted (in most cases) JavaScript, HTML and CSS code that help to provide the technology and functionality that you expect the browser to provide natively. In simple words, they provide support for missing features。
With polyfills, the code tries to replicate the real, standards-based API, making it easier to port your applications once a standard feature is included in a future version of a browser. 模拟已有的标准API。
Shims:are also important because, in many cases, they offer features that you’re really interested in but no polyfill is available and you want enhanced features not available in the standard implementation. 添加一些扩充的API。
1. http://caniuse.com/:按照浏览器的版本提供了详尽的HTML5 功能支持情况, you can use this site to find where to get the features for porting.
2. http://html5test.com/: 直接显示UA 对HTML5规范的支持情况
3. Modernizr:用于检测浏览器是否支持HTML5和CSS3的某些特性的一个工具.
4.HTML5 Cross Browser Polyfills:
5.jswiki:This wiki indexes libraries and resources available for JavaScript.