Re: Check if browser is NOT I.E.

From: UncleWobbly (hendy_at_talk21.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 17:46:09 -0000

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.

"Peter Foti" <peter@Idontwantnostinkingemailfromyou.com> wrote in message
news:103q9mc636tbla7@corp.supernews.com...
> "David" <david@brown6669.freeserve.co.uk> wrote in message
> news:5q9%b.197$%T3.39@newsfep3-gui.server.ntli.net...
> > On a page optimised for IE, I'd like to check if the browser type is
other
> > than IE, so I can direct them to another page.
> >
> > How can I modify the code below to redirect to indextext.asp if they
> aren't
> > using IE? I've tried changing the = for <>, but get a syntax error.
>
> I hope this is not for a public website... browser sniffing is bad
practice.
>
> Peter Foti
>
>



Relevant Pages

  • Re: Script for Hiding/Un-Hiding Text On Click
    ... one browser that supports getElementById, ... attitude about browser scripting. ... There just aren't any agents out there that support one and not the ... You really are as inept as I thought you were. ...
    (comp.lang.javascript)
  • Repeatable hard crash with 2.6.0.test[123]
    ... One application will reliably cause the system to crash when it exits ... This app worked fine and exited correctly ... the few changes needed to get the 2.kernels running. ... # ACPI Support ...
    (Linux-Kernel)
  • Re: "The Good Enough Revolution" - As it applies to js
    ... VB programs must be re-written because the current libraries don't ... I don't think MS needs to be singled out for poor support of web ... unknown browsers and until its adoption of feature testing, jQuery was ... All that needs to be anticipated is that a browser may not support any ...
    (comp.lang.javascript)
  • Re: Schannel and Session Renegotiation
    ... Schannel does not support the server sending app ... We are discussing the option of providing support for the client blowing off ...
    (microsoft.public.platformsdk.security)
  • Re: Legacy code/browser compatibility
    ... excuse for never learning what could be achieved by hiding ... "How old must a browser be before you stop worrying about it? ... has ventured way off topic into fallback form/basic HTML support, ... Fall back may be for when javascript is unavailable but on ...
    (comp.lang.javascript)