Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Saskatoon SK Canada
    Posts
    174
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Macintosh Mac's new Safari

    Great! All we need is another internet browser to code for! I downloaded Safari for my eMac and it works fine. I got interested and ran a JS test to see what browser it's copying. Safari tests true for Netscape 6,7. Is this right? So I'm guessing Safari is Apple's versioin of Mozilla 1? (Just like NS7 is Netscape's version)

    I'm just hoping I'm right.

    CP

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    No. It uses a modified KHTML rendering engine, similar to Konqueror.

    This thread will be moved to a more appropriate category.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Safari has the phrase "like gecko" in its user agent string, so a lot of sniffer scripts will identify it as that (which is presumably why it's there)

    It is, as jkd said, based on the KHTML/KJS rendering engine which Konqueror uses; the tests I ran show better JS and CSS support than Konqueror 3.0.3 (but I don't have Konqi 3.1 to test - I'm presuming that 3.1 and Safari are exactly the same)

    Safari also has UA-spoofing, which is difficult (but not impossible) to get round. In most cases you won't need to identify it uniquely; but if you do, have a look at my sniffer script which shows you how - essentially, in a browser which you have already established is not konqueror, safari may be established by this statement:

    (typeof document.childNodes!="undefined" && typeof document.all=="undefined" && typeof navigator.taintEnabled=="undefined")
    Last edited by brothercake; 03-04-2003 at 06:13 PM.

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    Saskatoon SK Canada
    Posts
    174
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks. Is there any reason I shouldn't just bundle Safari in with NS6,7/Moz?

    Right now everything seems to be fine just bundling them together. Do you think there are further plans to make Safari so it has to be addressed specifically?

    CP

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by dreamingdigital
    Is there any reason I shouldn't just bundle Safari in with NS6,7/Moz?
    That's what I do; in most cases it's enough, unless you run across an implementation bug. The bugs is usually what you need a client sniffer for


  •  

    Posting Permissions

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