Hacker News new | ask | show | jobs
by jrumbut 1983 days ago
document.querySelector was not available in IE 6 and 7.

Dealing with those versions was where jQuery really earned its spot in the JS universe. It was a lot to remember where all the quirks were and the incantations to work around them.

1 comments

IE 6. Now that's a name I haven't heard in a long time...
Just patched a problem in a WordPress site due to (now broken) support for IE7 two days ago. The elders of the Internet are still around. ;-)
I'm so sorry. Do you want to talk about it? :P
I'm not sure. It was kind of traumatic, but on the other hand it's a very old site, so it was obvious that there might be some dead bodies in the basement. Found one, ignored the others.
The IE 7 compatibility code broke the site in modern browsers, or did you really get a visitor on a Windows 98 machine?
It was a bug in an old version of superfish.js which relied on a deprecated jQuery function to detect the browser. $.browser broke in the new(er/est) version of jQuery which is integrated in that site.
The longer the better. What a neverending nightmare it was.