8 ms·
user-agent is most definitely needed. My server gives different content depending on which kind of client accesses the page and I certainly don't want to do th
by ytinas 17y ago
user-agent is most definitely needed. My server gives different content depending on which kind of client accesses the page and I certainly don't want to do that in javascript.
- moe 17y agoThen your server is broken. That's what the "accept*" headers are for.
- ytinas 17y agoAccept headers are going to tell me what CSS bugs are present?
- moe 17y agoThat's what conditionals inside the CSS are for. Browser sniffing simply doesn't work and only brings you pain. Enough so that jquery abandoned the practice a year ago; http://docs.jquery.com/Release:jQuery_1.3 http://docs.jquery.com/Release:jQuery_1.3