Compare two Images in JavaScript

I am trying to determine if two images are the same in javascript (even if the src urls are different).

My specific use case is within a chrome extension (though this being a chrome extension doesn’…

JavaScript: undefined !== undefined?

NOTE: As per ECMAScript5.1, section, window.undefined is read-only.
Modern browsers implement this correctly. for example: Safari 5.1, Firefox 7, Chrome 20, etc.
Undefined is still …