based on:
Status: Stable Beta
For modern browsers: Add main script in head
section
<script src="a.js"></script>
For IE8 support:
First[!] add a.ie8.js
in head
section
<!--[if IE 8]>
<script src="a.ie8.js"></script>
<![endif]-->
Add a.js
in head
section
<script src="a.js"></script>
Add a.ie8.js
and a.ielt8.js
, a.js
in head
section
<!--[if lt IE 8]>
<script src="a.ielt8.js"></script>
<![endif]-->
<!--[if IE 8]>
<script src="a.ie8.js"></script>
<![endif]-->
<script src="a.js"></script>
Put a.ielt8.htc
to the root of your site
(pseudocode)
IF __GCC__INCLUDE_EXTRAS__ == false -> Broken Object.defineProperty and Object.defineProperties will be deleted
IF __GCC__INCLUDE_EXTRAS__ == true ->
Note: if you don't need Extras set GCC flag __GCC__INCLUDE_EXTRAS__ to false in a.js and recompile a.js using Google Closure Compiler (GCC online)
In addition to __GCC__INCLUDE_EXTRAS__ GCC flag there are a bunch of over flags to enable/disable ES5/6 and DOM3/4 shims in a.js file. After set flags you need to recompile a.js using Google Closure Compiler (GCC online)
If GCC flag __GCC__IS_DEBUG__ == true -> Console fix from https://github.com/theshock/console-cap/blob/master/console.js
IE < 8 Same-domain limitationIE requires that the .htc behavior file must be in the same domain as the HTML page which uses it. If you try to load the behavior from a different domain, you will get an "Access Denied" error. Note that the domain must be exactly the same; that means that http://www.foo.com is a different domain than http://foo.com. http://css3pie.com/documentation/known-issues/#x-domain
IE < 8 Solve Same-domain limitationRussian instruction in extra/SameDomainLimitation.SOLVE_RUS.odt
http://jsperf.com/es5-dom-shim-test
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4