Tag Archives: internet explorer

IE Test VM’s for Virtual Box

Always a useful resource.

There is a list of VM’s with several versions of IE’s if you are under OSX (might work with Linux as well – haven’t tested).

Very useful if you, for some strange reason, IE doesn’t work with your Javascript, CSS, design, etc.

http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/


Internet Explorer cannot display this feed

XML is the format mostly used, together with JSON, to give access to data without giving access directly to a database. Most of the browsers are XML compatible, but IE, in some versions (any one older than IE 8.0.76) cannot display a XML feed even if this one has passed the W3C XML validation.

I have faced this problem when dealing with an API. A couple of methods where giving the famous error: “Internet Explorer cannot display this feed”. After a lot of searching on the net with no success I finally decided to use the oldest of the scientific methods to figure this out: test and error.

After a bunch of tests I finally have found out why it was breaking: If the XML has any CDATA tag inside, it will not render in IE.

Workarounds:

  • Install newest version of IE (that might not be available on all versions of Windows)
  • Remove CDATA and html encode (php htmlentities) any field that has CDATA

These are the workarounds and solutions for a well constructed feed, so, before checking those, make sure that your XML pass the W3C validation.

Have fun!

 


Context menu disable with JQuery

I have found a ton of tutorials teaching how to disable the context menu on browsers and in all of them I have found one flaw:

Does not work with Opera

It’s an anoying situation that got me thinking and searching for a solution through most part of the day and with no luck.

The function is simple:

$(document).ready(function()
{
$(document).bind(“contextmenu”, function(e)
{
return false;
});
});

and it works with (tested):

and it does not work with (tested)

After a lot of research I have found why it does not work with Opera:

Opera (9.5) has an option to allow scripts to detect right-clicks, but it is disabled by default. Furthermore, Opera still doesn’t allow JavaScript to disable the browser’s default context menu which causes a usability conflict.

You can try to disable by disabling the mousedown event filtering only for Opera, but I do suggest a lot testing on this.

To complete just an extra note: this function does not bind the documents inside an iframe, so in this case you should complete the function by disabling the context menu in the iframe document as well.


Microsoft Releases IE 8 Today

According to the Wall Street Journal, Microsoft will release today, at noon, EDT the new IE 8 (link to IE8 beta page – will update when the new one comes).

This will give Microsoft a slightly advantage over it’s principal competitor Firefox 3.5.

As any web developer I’m not as much excited as any user should be, since this will be one more IE to test web applications (IE 6 and 7 still up  :[ ).

Let’s now wait for the new IE and see how it will handle on Vista and XP.


%d bloggers like this: