[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: supporting web standards, not renderers, was: khtml and safari
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2003-01-10 18:25:10
[Download RAW message or body]

On Thursday 09 January 2003 10:12, Marco Fioretti wrote:
|  On Tue, Jan 07, 2003 19:30:18 at 07:30:18PM -0800, Charles Samuels 
(charles@kde.org) wrote:
|  > What would be nice is if Safari and Konqueror's user-agent strings had
|  > something in common, so that incompetent web designers who "need" the UA
|  > would have something that helps both KDE and Apple have web sites that
|  > explicitly support our renderer.
|
|  Isn't this just another version of "this site designed for/best viewed
| with IE6"?
|
|  Web sites should explicitly support Free standards (HTML 4, CSS,
|  whatever). They should force users to use *any* browser fully
|  respecting those standards, shouldn't they?

I am one of those who would vote for userAgent standartization.
But, IMO Mozilla team doesn't want to make any steps in this direction, and 
their method of defining UA is wrong.
And I do not expect MS to follow userAgent standard, supposing that such one 
was created.

So, what we can do for now is to make sure that Safari and Konqueror, using 
the same rendering engine (KHTML/KJS), would get the same treating.

And, BTW, there are some structures in 'navigator' object (pre-defined in all 
existing browsers) which can help.
See attached script which returns following (on my KDE 3.1):

navigator.vendor = KDE
navigator.product = Konqueror/khtml
navigator.platform = Linux i686 X11

I am certanly interested what results Safari returns for this script. 
Anyone?..

-- 

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net
My KDE page
http://kde2.newmail.ru  (English)
KDE mini-Themes
http://kde2.newmail.ru/themes/
["navigator_platform.html" (text/html)]

<HTML>
<HEAD><TITLE>navigator.vendor, navigator.product properties</TITLE>
<SCRIPT language=javascript>

 nv = navigator.vendor;
 np = navigator.product;
 NS6 = (nv == ("Netscape6")) ? true : false;
 Gecko = (np == ("Gecko"))? true : false;

 document.write ("<BR>navigator.vendor = ", nv);
 document.write ("<BR>navigator.product = ", np);
 document.write ("<BR>navigator.platform = ", navigator.platform);

 document.write ("<BR>NS6= ",NS6);
 document.write ("<BR>Gecko =",Gecko );
</SCRIPT>

</HEAD>

<BODY>

</BODY>
</HTML>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic