Skip to content

Instantly share code, notes, and snippets.

@dgrijuela
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgrijuela/7277031ccb70150ff4cb to your computer and use it in GitHub Desktop.
Save dgrijuela/7277031ccb70150ff4cb to your computer and use it in GitHub Desktop.
Testing your app in Internet Explorer 6-11

Testing your app in Internet Explorer 6-11


  • Use the script available in this repo to download the IE6-IE11 disk images for Virtualbox.

  • Start the machine with the IE you want directly from Virtualbox.

  • In Network Settings (from Virtualbox), enable just one attached to: NAT.


Now the http://localhost in your host machine will be http://10.0.2.2 in your guest virtualized machine.

Guest's IP to use in the host is http://10.0.2.15.

If you need to modify the hosts to make aliases, they are in c:\WINDOWS\system32\drivers\etc\hosts


Problems you may face:


  • The ajax request for a json is being downloaded instead of parsed

Create a file called json-ie.reg anywhere in your windows guest machine with this content:

Windows Registry Editor Version 5.00
;
; Tell IE to open JSON documents in the browser.  
; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .
;  

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
"Encoding"=hex:08,00,00,00

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/json]
"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
"Encoding"=hex:08,00,00,00

Stop IE, double-click that file, then restart IE and it will work.


  • SSL certificates

In Internet Explorer go to Internet Options -> Security, and click the check sign "Trusted Sites".

Then click the "Sites" button and add there your https site and all the other ones that are called by your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment