Re: Check if browser is NOT I.E.

From: Peter Foti (peter_at_Idontwantnostinkingemailfromyou.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 12:57:18 -0500


"UncleWobbly" <hendy@talk21.com> wrote in message
news:403e315f$0$17839$fa0fcedb@lovejoy.zen.co.uk...
> nonsense.
>
> what about capabilities or lack. I have a web-based application I support
> that uses client-side VBscript. I need to check the user is browsing with
> IE. Also, the same app has a page with three horizontal frames, the middle
> of which is composed of two vertical frames... Netscape doesn't like it,
but
> I need to check otherwise the user sees a load of rubbish.
>
> not interested in the "my browser is better than your brower" argument.
The
> app is designed for IE and not interested in supporting any other. The
> number of users this affects is tiny.

I'm not arguing any browser is better than another. In the case of using
VBScript on a public website... I think it's a bad idea, and I personally
would not do it (since there is only 1 browser that supports it). If it was
for an intranet application, where you have more control over how the app is
accessed... well, that's a different story.

In your case, the mistake is not browser sniffing... it's relying on client
side scripting as part of your primary content (and even worse, using a
scripting language that is only supported by 1 browser). Personally, I
would only rely on client side scripting for non-critical things, like bells
and whistles. So whether you use Javascript or VBScript, I think you're
making a mistake if you require it (though it may be that your particular
site does not care about accessibility... depends on your target audience I
suppose). There are better alternatives.

Regards,
Peter Foti



Relevant Pages

  • Re: VBScript on linux browsers
    ... > Is there any browser on linux that supports VBScript? ... > application called flexcube which uses VBScript on client side. ...
    (comp.os.linux.misc)
  • Re: attachEvent and arguments
    ... a client ... almost regardless of what OS or version of OS is used. ... to be much more specific about the particular browser and version. ... Yet a requirement to support a particular UA/ particular UA version is ...
    (comp.lang.javascript)
  • Re: Browser as Platform (was DesignBais - Impressive)
    ... is still not easy for software development IMO. ... I think that the biggest obstacle to the success of the "browser as ... The biggest issue with IE is trying to support it and other browsers. ... storing state on the client -- will sessions be managed on the client, ...
    (comp.databases.pick)
  • Re: Legacy code/browser compatibility
    ... and many Apple users are still using OS X 10.3 which comes with Safari ... only browser is IE Mac 5.1. ... Safari's CSS support is nearly ... Often a small client isn't going to pay for the 8-16 hours for testing ...
    (comp.lang.javascript)
  • Re: IE c# client side
    ... Thunderbird is with ngs and how to "Show replies to my messages" only? ... If you had to fall back to winforms and smart client, ... > Even if you could make this work the browser would have to support it on ... > All modern browsers support JavaScript, that is why it always gets used on ...
    (microsoft.public.dotnet.languages.csharp)