Results 1 to 10 of 10
  1. #1
    Gold Lounger
    Join Date
    Feb 2003
    Location
    Wardrobe Malfunction Junction, Derry
    Posts
    2,953
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: iscovering appName (-)

    Beryl--

    Do these help?


    Detecting IE6
    positioning in IE6
    <A target="_blank" HREF="http://www.echoecho.com/ubb/viewthread.php?tid=481&pid=4874&#pid4874">Browser Detection Could Not Detect IE6
    [url=http://www.jsworkshop.com/forum/showthread.php3?threadid=1506]Redirection</A>
    Browser Detection IE6
    Java Script for Specifying Content
    Basic Calls and Info IE6 XP
    Designing with Java Script Second Edition

    SMBP

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: iscovering appName (-)

    I suspect the result will be: Microsoft Internet Explorer

    That is what I got on this box with IE5.5. If you want to get fancier, you can get the version number and other information. On this box, the result is:

    Microsoft Internet Explorer 4.0 (compatible; MSIE 5.5; Windows NT 4.0)

    Interestingly, that is NOT the same information that this computer puts in the UserAgent data. That result is:

    Mozilla/4.0 (compatible; MSIE 5.0; Win32)
    __________________________________________________

    To get the first result, simply open Notepad and paste this into a blank file:

    <SCRIPT language=javascript>
    document.write(self.navigator.appName)
    </SCRIPT>


    Save the file to your desktop -- with an .htm extension -- and then double-click on it to open it in the browser.

    To get the more informative data, do the same thing with this:

    <SCRIPT language=javascript>
    document.write(self.navigator.appName +" "
    +self.navigator.appVersion)
    </SCRIPT>


    That should give you all the information you want.

  3. #3
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: iscovering appName (-)

    If I run the scripts on my Win98 box with IE6, I get these results:

    Microsoft Internet Explorer

    --and--

    Microsoft Internet Explorer 4.0 (compatible; MSIE 6.0; Windows 98; Q312461)

    ...respectively. No real surprise. IE6 is really just a sub-version of IE4 (despite the numbering). This list does not appear in the registry so it must come out of some IE file. Again, it is not the same as the User Agent data:

    Mozilla/4.0 (compatible; MSIE 6.0; Win32)

  4. #4
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Discovering appName (-)

    Could someone using IE6 who knows how to extract info re a browser in Javascript do me a favour, please?

    Could you find out what the self.navigator.appName is for IE6 and let me know?

    I'd be most grateful!
    Beryl M


  5. #5
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    Thanks, all - yes, that was what I expected, but I was following a possible line on a problem I've got. Unfortunately these results mean that what I was thinking of is not the problem!

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15>
    Beryl M


  6. #6
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    Thanks for the info, R2, but the problem I was dealing with is to do with a website, so modifying the entries of the users would not be an option!

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Beryl M


  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    I liked it better when the name was mysterious!

    FYI: the source of the "version numbers" is normally URLMON.DLL -- except for the "Q" number, which comes from the registry. This is the information that appears in the "User-Agent" field in the header of your TCP/IP packets. One can modify and override these values by modifying various sections of the registry.

    Eh, in case some one was interested. :-]

  8. #8
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    I must assume it is YOUR web site that is the problem? If you had problems using a web site -- because it expects a certain User-Agent field -- you can "spoof" any browser you want. However, if it is your web site and that is expecting a certain browser(s) or only works with certain browser, then you are over my head! Good luck.

  9. #9
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    "My" website, yes, but it is dealing with users using all the different browsers under the sun (and a few less brightly lit places too, I think) that could be causing the problem.

    If you know of any code that can make it so a login page loads and behaves exactly the same no matter which of those <img src=/w3timages/censored.gif alt=censored border=0> browsers they are using, I would love to know about it!

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Beryl M


  10. #10
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Discovering appName (-)

    Not me, but you might try asking in different forums. There is a Web Design, Coding, and Scripting forum here.

Posting Permissions

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