greggoryhz/MooTools-onHashChange-Event — Issue #1: IE8 Compatibility Mode reports true for 'onhashchange'
Author: jonjhiggins
Created: 2012-01-24 11:19:58+00:00
State: open

Thanks, this is really useful. Just thought I'd add that IE8 running in IE7 compatibility mode reports true for 'onhashchange' in window, even though the event isn't supported.

Following on from http://stackoverflow.com/questions/4029758/use-javascript-to-find-the-current-url-from-address-bar-in-ie8 I added a check into mine of ("onhashchange" in window) && (document.documentMode != 7)