I'm going to say something now that may seem to completely contradict
a previous post of mine, in which I basically said that taking a "who
cares" attitude about certain browsers (because of their non-standard
CSS rendering) makes no sense.
Well, you have to draw the line *somewhere*... and contradictory or
not, I've decided that I've suffered with Netscape 4 for long enough.
Coding workarounds for its brain-dead CSS rendering has literally
doubled my development time on some projects. It's the only browser I
can truly say that I *hate*, and now that its market share seems to
have slipped below one percent (I hope!), I'm saying "enough."
So I'm planning to simplify my CSS and JavaScript files by stripping
out most or all of the NS4-specific bloat, and never find out what
gibberish it makes out of my pages by the simple method of not
viewing them myself in NS4.
However, I may leave my JavaScript browser-sniffer in place. My
question is, what's the best way to blow off NS4 users? Here are
some options that I've thought of:
1. Do nothing special (even get rid of the sniffer).
Pros: Simplest thing to do. They're going to see garbage
anyway, and they're probably used to it.
Cons: They don't know that their browser is crap, and they'll
blame me (or my clients).
2. Put up a JavaScript alert box on every page load, saying that my
site doesn't support NS4, and did they know they can get a modern
browser for free?
Pros: -Performs a public service - educates them a little.
-Lets them know I know what's happening (i.e. I'm not
just oblivious/incompetent).
Cons: -Might make pages unusable (too annoying) that might
otherwise be readable even in NS4.
-I'm not sure, but I don't think I can put a link (to
a browser upgrade site) in an ordinary JS alert.
I could certainly generate a special little window
(pseudo-"alert") with a link, but that would be work.
-If my sniffer screws up, I may end up annoying
non-NS4 users.
3. Use JavaScript to write some bold red text on every page with a note
(as in #2 above) and a link to some kind of browser upgrade site.
Pros: A little less harsh than the other options.
Cons: -More work for me. Do I have to check each page in NS4
to see that the warning is actually visible? Even if
it is, will I be able to restrain myself from "fixing"
each page after I see what garbage it looks
like in NS4?
-If my sniffer screws up, I may end up annoying
non-NS4 users.
Opinions? How do you handle this?