Results 1 to 4 of 4

Thread: Browser Type

  1. #1

    Thread Starter
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645

    Browser Type

    Quick Question...

    Has anyone got any idea how I can use the navigator.appName in Javascript and use to detect if the clients browser is Opera?

    Cheers
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    strsomething = navigator.appname

    or



    if(navigator.appname == 'Netscape') then
    blah blah
    else
    blah blah


    (correct my typos)

    and...
    open up a page in opera and try to document.write the navigator appname... should help u.

  3. #3

    Thread Starter
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Thanks mendhak,

    I got that far BUT the only problem is is that Opera disguises itself as Internet Explorer. I just cant think of a way around.

    Thanks a lot
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    If there's something specific you wanna work around, post it up... maybe there IS a way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width