On Thursday 06 November 2003 17:18, Raymond Irving wrote:
> Yes we would love to hear about your findings.

From what I learned  about the relation between safari and konqueror from 
public sources I expected them to be more or less the same. Apple also took 
the JS part from the kde project, but now it seems to me that they have done 
many modfications. As apple sends back their work to the kde people there 
should be a convergence between these two. Nobody actually claimed but I 
thought first outcomes of would be implemented in konqueror in 3.Q. this year. 
I still must get kde3.2 to check.

With my version 3.0.3: if I leave the the user agent to the default string 
(Mozilla/5.0 (compatible; Konqueror/3; Linux) almost none of the examples 
work. Changing ua to Mozilla M18 ("Mozilla/5.0 (Windows; U; WinNT4.0; en-US; 
m18) Gecko/2001010") gives he same effect. 

Best results I do get if I set ua to IE5.5 Win2000 ("Mozilla/4.0 (compatible; 
MSIE 5.5;Windows NT 5.0)"), the last thing I expected ... The 'basic' and 
most important examples work  (and  - besides -  my web-mapping projects).

Ok, what I did - bad, bad - I fumbled with dynapi.js :
[... ]      
 this.safari = ua.indexOf("safari")>-1;  // always check for safari & opera 
// may be next line was me or it was in one of the snapshots
this.konqueror = ua.indexOf("konqueror")>-1;
this.opera = ua.indexOf("opera")>-1;    // before ns or ie
[...]
}else if (this.safari) {      // safari part untouched
       this.ns6 = (this.v>=5); // ns6 compatible correct?
       this.b = "Safari";
 }else if (this.konqueror) {  // my quirk
    this.ie = this.ie6 = true;
    this.v = 6;
    this.b = "MSIE";
  } 
[...]
this.win32 = ((ua.indexOf("win")>-1) || this.konqueror);
[...]

Sure the kde people like to kill me for that

Maybe it would be enough to :
[ ... ]
}else if (this.safari || this.konqueror)) {    
       this.ns6 = (this.v>=5); // ns6 compatible correct?
      (this.safari)?this.b = "Safari":this.b = "Konqueror"; 
[ ... ]

Cheers, Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to