473,569 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best way to blow off Netscape 4 users

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?
Jul 20 '05 #1
16 2207
On Thu, 15 Jul 2004 23:22:32 GMT, Jonas Smithson wrote:
1. Do nothing special (even get rid of the sniffer).


...but use @import to make your CSS invisible
to the brain-dead NN4. That way you do not
risk your (precious) content being hidden by
some bizarre rendering of style-sheet based
positioning effects.

Any NN4 user now would have to be getting used
to seeing 'Black Times New Roman on a White BG'.

They either know what is happening and do not
need/want formatting on web pages, or put it
down to 'some web design FAD'.

To sum it up, I do not think someone who is
still using NN4 gives a toss what color *we*
want the BG of our pages to be, and if they
are happy with that, so am I.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 20 '05 #2
Jonas Smithson wrote:
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.
That's what many of use have found. Fortunately, NS 4 is capable of
rendering HTML sans CSS in most situations -- it has some trouble with
the character model, IIRC, but that may not affect you -- and it is
trivial to simply hide all CSS from it.

@import "hidefromns4.cs s";
However, I may leave my JavaScript browser-sniffer in place.
That sounds suspect. What is this "JavaScript browser-sniffer" all
about? Such things are notoriously unreliable and counter-productive
besides.
My question is, what's the best way to blow off NS4 users?
Don't. Server then HTML; don't serve them CSS. You'll be doing NS4
users a big favor by protecting them from CSS that their browser will
choke on.
1. Do nothing special (even get rid of the sniffer).
In *any* case, get rid of the sniffer.
Cons: They don't know that their browser is crap, and they'll
blame me (or my clients).
Chances are that NS4 users are accustomed to the web as it appears.
Your site, by contrast, will be much friendlier for them, since it
will actually function.
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?
In other words: "I know what you need more than you do. You're an
idiot. Do as I say."

The difference between clueful authors and the other kind is as
follows: the clueful think of themselves as guests of those who come
to the site; the clueless think their visitors are guests of their
-Lets them know I know what's happening (i.e. I'm not
just oblivious/incompetent). 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.


If you put an alert in bold red text telling them to upgrade, you'll
appear quite incompetent. You are a www author. You write documents
for the www, and make sure they work in commonly used browsers. That's
the beginning and end of your work. It is simply not your place to
tell users what software they should run to accomodate you.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #3
Brian wrote:
....It is simply not your place to tell users what
software they should run to accomodate you.
I agree with you -- it's not my place to "tell" them what they "should"
run. But perhaps it depends on how it's worded? That is, perhaps a
*suggestion* that they *could* upgrade, not a *command* that they do
so? What brought this to mind... I discovered almost by accident that a
couple of non-technical friends of mine were using NS4 and literally
didn't know what browser they were using, didn't know they could
upgrade it, and didn't know that it made any difference. Wouldn't it be
performing a service (to them and to the Web design community) to let
NS4 site visitors know? How else would they find out they could upgrade
to a better browser?

I seem to recall a site called "The Browser Upgrade Project" or
something like that, set up for this purpose (i.e. you provide a
suggestion and a link to that site, or even just redirect your page to
them, and they provide explanations of why modern browsers are better,
and links to many browsers). Of course I'd still need to run a JS
sniffer to know whether to write a "suggestion " note and a special link
to them, and you seem opposed to JS sniffers, although I'm not sure
why. I've used them for years (as many sites do) to serve up somewhat
different CSS to NS4, and not one user has ever reported a problem. I
know browsers sometimes lie about what browser they are, but does any
browser lie specifically about being NS version 4 when it isn't?
it is trivial to simply hide all CSS from it.
@import "hidefromns4.cs s";


I hadn't thought of that. Do you mean fetch *all* my external styles --
i.e. my main external stylesheets -- via @import rather than via <link
rel... etc. so they'd be invisible to NS4/Opera 3/etc? Is there any
downside to doing it that way... does the CSS stylesheet load just as
reliably/quickly/efficiently in modern browsers via @import as via
<link rel... ?
Jul 20 '05 #4
Jonas Smithson wrote:
I agree with you -- it's not my place to "tell" them what they
"should" run. But perhaps it depends on how it's worded? That is,
perhaps a *suggestion* that they *could* upgrade, not a *command*
that they do so?
And this will be on every page? So every page of your site will have a
"suggestion " that they upgrade? This makes sense -- if your site is
about upgrading browsers. If your site is about something else, then
why would you put such a message on every page? Or on the home page of
such a site?

If you are determined to do this, then do it in an out of the way
place. A small link on the home page only, to an "about this site"
page. On that page, you might note that NS 4 users will get an
unstyled page, and that such users can upgrade at
http://getabetterbrowser.loser.com.

The site in my sig sort of takes that approach; every page has a link
to a "help" page. On that page, besides some genuine help, is a link
to a "visual presentation" page. On *that* page is a note about css,
and that older browsers will be shielded from it.

Note: visitors only get there 2 links from the home page; the page in
question is not an "upgrade, loser" page, it's a note about how the
visuals were accomplished; and the message simply explains how and why
things look as they do. I don't patronize viewers by telling them what
they should use, I explain what I did to make it work in the browser
they chose. In other words, I assume they chose their browser -- MSIE,
Firefox, Opera, Netscape 4, Lynx, whatever -- for a reason, and I'm
not going to question that choice.

I did create a site requirements page. There again, I suggest that
they should upgrade, I merely tell them what might improve for them.
One final note: I put some work into these pages, but I doubt that
anyone has ever actually read them. I conducted very informal
usability tests, and the subjects (all 2 of them!) never went anywhere
near the /site/ pages. I regard that a success. If they don't need
help, then my site is reasonably user-friendly.
Of course I'd still need to run a JS sniffer to know whether to
write a "suggestion " note and a special link to them, and you seem
opposed to JS sniffers, although I'm not sure why.
It is the very wrong way to see what the visitor is using. What if js
is disabled? What if the referrer string is suppressed or forged?
I've used them for years (as many sites do) to serve up somewhat
different CSS to NS4, and not one user has ever reported a problem.
They usually don't; they just hit the back key and look for reading
material elsewhere.
@import "hidefromns4.cs s";


Do you mean fetch *all* my external styles -- i.e. my main external
stylesheets -- via @import rather than via <link rel... etc.


Yes.
so they'd be invisible to NS4/Opera 3/etc?
It will hide all styles from NS4 and IE4. I'm not familiar with old
versions of Opera, so I can't comment on that.
does the CSS stylesheet load just as reliably/quickly/efficiently
in modern browsers via @import as via <link rel... ?


Noone here has ever suggested otherwise.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #5
On Thu, 15 Jul 2004 22:08:51 -0400, Brian
<us*****@juliet remblay.com.inv alid> wrote:

If you are determined to do this, then do it in an out of the way
place.


How about something styled display: none? NN4 will see it, as the CSS is
imported. Only other folks to see it will really be Lynx.
Jul 20 '05 #6
Neal wrote:
Brian wrote:
If you are determined to do this, then do it in an out of the way
place.
How about something styled display: none?


Why? What is behind this desire to remind users that their browser is,
according to the author, sub-standard?
NN4 will see it, as the CSS is imported. Only other folks to see it
will really be Lynx.


And Links, W3M, Opera or Firefox with styles disabled, etc. Oh, and
Googlebot.

So how will the page be indexed?

Joe Clueless Home Page
Your browser is out of date; time to upgrade
This is my home page, with photos and...

How professional.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #7
On Fri, 16 Jul 2004 00:22:06 -0400, Brian
<us*****@juliet remblay.com.inv alid> wrote:
Neal wrote:
Brian wrote:
If you are determined to do this, then do it in an out of the way
place.


How about something styled display: none?


Why? What is behind this desire to remind users that their browser is,
according to the author, sub-standard?


Hey, not MY desire. But if you're looking to send content to no-CSS
viewers, that's it.
Jul 20 '05 #8
Neal wrote:
How about something styled display: none? NN4 will see it, as the CSS is
imported. Only other folks to see it will really be Lynx.
That sounds clever; thanks! That would allow me to avoid using a
JavaScript sniffer. (Although, BTW, a *properly written* sniffer is not
as unreliable -- for this purpose, anyway -- as some people seem to
think. It's true that most sniffers are unnecessary even for
JavaScript's own purposes, since object detection usually works better,
but that's not relevant in this case; and many sniffers are badly coded
-- but mine isn't. Nonetheless, I agree that they're a little dicey and
best avoided, and I appreciate your suggestion.)

Moving on... looking back over the previous posts, I'm having a couple
of problems here.

First of all, I just tried the @import idea and immediately saw a
problem: it (naturally) doesn't block inline styles, or styles in the
head. Now I do use external styles whenever possible -- and I'd say
it's practical for about 90% of my styles. But the other 10% -- the
head and inline styles -- make a total mess when the external sheet is
blocked.

There's also a bigger problem (maybe) that I'm thinking of...

Andrew Thompson wrote:
Any NN4 user now would have to be getting used
to seeing 'Black Times New Roman on a White BG'.


True, and if font and background information were all that was
involved, hiding all the CSS from NS4 would be a no-brainer. But I'm
starting to rely on CSS-positioning for entire page layouts (not just
for sections within an outer table), and that opens up a whole other
can of worms if most or all of the CSS is blocked.

Consider the case of various main units of text which each "own" a
small ancillary sidebar, connected with CSS positioning. I'm *not*
talking about sidebars with author pullquotes to pique the reader's
interest, and whose precise adjacency doesn't really matter. I'm
talking about sidebars with ancillary technical material related to
their specific parent paragraphs -- for example, a main paragraph which
discusses xyz and an adjacent small sidebar with links to "Sites with
more information" (i.e., more info about xyz).

The sidebar is an absolutely positioned element whose spatial
relationship to its parent will change without CSS. It may even appear
on an entirely different part of the page if the CSS is missing or
mangled. Worse case, the reader may actually think the ancillary
material refers to a different "parent" paragraph than it actually
does!

I suppose the simple retort to my example is "that's a true tabular
relationship, use a table" -- but I was trying to get away from table
code! Or "don't put that in a sidebar" -- so I have to limit my design
options with CSS, although I didn't when using tables? Rhetorical
question: So are we to conclude that any page that requires specific
positional adjacencies as a clue to meaning can't be safely laid out
with CSS? I doubt many people here would say that. It seems to me that
many, many pages have such positional relationships!

This may get philosophical/contentious pretty quickly... my belief is
that (many comments in this newsgroup notwithstanding ) there cannot
always be a clear demarcation between "structure" and "appearance ."
Using CSS positioning means you may (in some important cases) be
inevitably affecting meaning, not just "decoration ."

I can understand Brian's objections to my suggesting too obtrusively to
readers anything about their browser: whenever I've visited a site that
said "This site best viewed in... [insert browser name]" my reaction
was always that the designer was both arrogant and clueless. So it's a
little strange that I'm contemplating something like that now. (I
emphasize "contemplating" ; I haven't decided, that's why I'm posting
here.) But if a Netscape 4 user may actually *misconstrue the meaning
of the content on a page* because the positions have been scrambled,
might it not be the lesser of several evils to warn them or even block
the page to them entirely?

Regardless of whether I...
1. ...block most of the CSS with @import (and have the unstyled HTML
unpredictably blend with the inline styles that I can't block), or
2. Allow all the CSS through and have NS4 create its usual mishmash out
of the styles...

*Either way* I run the risk of users seeing adjacencies that could be
highly misleading. This is a question of *meaning*, not fonts and
backgrounds. That's why it seems like some kind of warning to NS4
visitors -- yes, on every page -- might be the least obnoxious
solution. (?)

Or else it's back to table code. Or back to testing individual page
layouts in NS4, endless convoluted CSS workarounds, etc. :(

Still open to ideas; my mind is *not* made up on all this.

Thanks.

(P.S. Did I mention that I *hate* Netscape 4?)
Jul 20 '05 #9
Tim
On Thu, 15 Jul 2004 23:22:32 GMT,
Jonas Smithson <sm************ @REMOVETHISboar dermail.com> posted:
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).


I'd go for do nothing. Attempts to be intelligent at guessing what a
browser does, or can do, tend to be wrong a lot of the time. As you say,
people with older browsers are used to them sucking.

If you feel the need to educate people, and you have a page to help people
with using the site, mention it there.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1582
by: Jeff Johnson | last post by:
Hi Everybody, I have a function that works great in IE but fails in NN. Would someone please give me some insight as to how to correct this: function init(){ var oFrame = parent.frames; if (typeof(oFrame.divSummary) != 'undefined'){***** fails here! updateContent(oFrame);
9
2540
by: rez | last post by:
I find it rather frustrating that Netscape 4.x is "no longer supported:" http://help.netscape.com/products/client/communicator/reflib.html Same seems true with IE. How am I ever supposed to make my scripts multi-browser, when they don't bother giving me basic documentation?
15
7867
by: Laurens | last post by:
Hi, Which browser has the best CSS paged media support? I'm about to write a business plan, which needs to be printed on paper to be presented to the bank. Now I cringe at doing this in Word, as I'm far more comfortable with hand-coding HTML and CSS(though I've never used the print-specific CSS elements).
131
21569
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately get some good real world examples. Fire away! :) Regards, Peter Foti
5
1720
by: bulk88 | last post by:
I know Netscape 4 is Ancient and horrible but I need to make my site Netscape 4.8 compatible. But how can I rewrite HTML code/do minor DTHML on my site with Netscape 4/4.8, document.write works, but I cant remove anything with it. Mostly what I need to do is remove/disable a embed or object tag if a user clicks a button, and write it back in...
4
1808
by: Nariak | last post by:
Dear friends of programming! the script below only works with MSI and Opera but not with Netscape 7.x and Mozilla 1.x! What is wrong? Please help me! Thanks Ralf
3
1579
by: Jason | last post by:
We have an Extranet with one customer with 20,000 users that has, unfortunately, standardized on Netscape 4.77 for the entire company. We are in the process of rewriting this application from Java to .NET and, of course, would not like to be constrained by the Least Common Denominator (LCD) this particular company represents. Question: What...
56
5120
by: Zytan | last post by:
Obviously you can't just use a simple for loop, since you may skip over elements. You could modify the loop counter each time an element is deleted. But, the loop ending condition must be checked on each iteration, since the Count changes as you delete elements. I would think it is guaranteed to be computed each time, and not cached. ...
7
1259
by: jim | last post by:
Let's just say that I am foolish enough to code and distribute a free app to the general public over the web. What is the best (cheapest, smallest bandwidth, easiest to code) way to publish updates to my .Net application? I'd like to save bandwidth by only updating the changed portions if possible. Thanks!
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.