Babel 6.0.20 Modules feature not work in IE8

By default, Babel 6.x requires you to enable an explicit set of transformations. The standard es2015 preset converts ES6 to ES5, however IE8 is not ES5-compatible. In this case, if you look at the plugins list, you will see transform-es3-member-expression-literals transform-es3-property-literals These will convert your properties to be compatible with IE8. Generally in Babel 6.x … Read more

How to avoid ie8 compatibility button?

Short answer: Put this in your head tag to tell the browser that your page works in IE 8: <meta http-equiv=”X-UA-Compatible” content=”IE=8″ /> Also as per Jon Hadleys comment, to ensure the latest (not just IE8) rendering engine is used, you could use the following: <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>

How do I dump JavaScript vars in IE8?

Here’s one technique that I’ve found helpful: Open the Developer Tool Bar (hit F12) Go to the “Script” tab Click the “Start Debugging” button Next, type “debugger” into the console and hit enter. This should trigger a break point. Go to the “Watch” sub-tab Click the row that says, “Click to add…” and enter a … Read more

Will targeting IE8 with conditional comments work?

[*] One thing to note: It does work, BUT if you are loading the page/site local network (e.g. Intranet) it will load in IE7 mode by default! (update – localhost[*] is a special case, that does render in standards mode) This goes against MSFT’s original statement of going STANDARDS by default. e.g. http://127.0.0.1/mysite/mypage.php <– IE8 … Read more

header/footer/nav tags – what happens to these in IE7, IE8 and browsers than don’t support HTML5?

Place this is the <head> section of your page, before any CSS files are loaded. <!–[if lte IE 8]> <script src=”https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js”></script> <![endif]–> html5shi(m|v) creates doc elements for all the html5 elements so the styles from your CSS can kick in. Default behaviour for IE is to ignore unknown elements. For more info see resig’s blog … Read more

IE8 embedded PDF iframe

It’s downloaded probably because there is not Adobe Reader plug-in installed. In this case, IE (it doesn’t matter which version) doesn’t know how to render it, and it’ll simply download the file (Chrome, for example, has its own embedded PDF renderer). If you want to try to detect PDF support you could: !!navigator.mimeTypes[“application/pdf”]?.enabledPlugin (now deprecated, … Read more