IE8 issue with Twitter Bootstrap 3

I am creating a site using the new Twitter Bootstrap. The site looks fine and works in all required browsers except IE8. In IE8 it seems to be displaying elements of the mobile version but stretched across the full screen of my desktop. I believe the problem I’m having is that Twitter bootstrap is mobile … Read more

What do I need to do to get Internet Explorer 8 to accept a self signed certificate?

We use self signed certificates on our intranet. What do I need to do to get Internet Explorer 8 to accept them without showing an error message to the user? What we did for Internet Explorer 7 apparently isn’t working. EDIT: Internet Explorer 7 wouldn’t show any errors if I put the certificate into trusted … Read more

Why doesn’t indexOf work on an array IE8?

The below function works fine on Opera, Firefox and Chrome. However, in IE8 it fails on the if ( allowed.indexOf(ext[1]) == -1) part. Does anyone know why? Is there any obvious mistake? function CheckMe() { var allowed = new Array(‘docx’,’xls’,’xlsx’, ‘mp3’, ‘mp4’, ‘3gp’, ‘sis’, ‘sisx’, ‘mp3’, ‘wav’, ‘mid’, ‘amr’, ‘jpg’, ‘gif’, ‘png’, ‘jpeg’, ‘txt’, ‘pdf’, … Read more

How to fix Array indexOf() in JavaScript for Internet Explorer browsers

If you have worked with JavaScript at any length you are aware that Internet Explorer does not implement the ECMAScript function for Array.prototype.indexOf() [including Internet Explorer 8]. It is not a huge problem, because you can extend the functionality on your page with the following code. Array.prototype.indexOf = function(obj, start) { for (var i = (start || 0), … Read more

Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine

Like everyone else, I need to test my code on Internet Explorer 6 and Internet Explorer 7. Now Internet Explorer 8 has some great tools for developer, which I’d like to use. I’d also like to start testing my code with Internet Explorer 8, as it will soon be released. The question is: how to … Read more

‘console’ is undefined error for Internet Explorer

I’m using Firebug and have some statements like: console.log(“…”); in my page. In IE8 (probably earlier versions too) I get script errors saying ‘console’ is undefined. I tried putting this at the top of my page: <script type=”text/javascript”> if (!console) console = {log: function() {}}; </script> still I get the errors. Any way to get … Read more