Is it okay to spoof navigator.product by default?

David Faure faure at kde.org
Tue Sep 21 14:55:54 BST 2004


On Tuesday 21 September 2004 15:51, Allan Sandfeld Jensen wrote:
> Hi khtml people!
> 
> I have the following patch which "fixes" problems with old versions of 
> opencube's quickmenu (see bug: http://bugs.kde.org/show_bug.cgi?id=74162 )
> The patch is adapted from the Safari-tree.
> 
> QuickMenu is used on large number of sites, and the progress to update to 
> newer versions that actually detects and supports konqueror seems pretty 
> non-existant.
> 
> The question is if anyone would object if I commit the attached patch. Is it 
> okay to pretend to be Gecko, yet another place? 
> Since it is a value IE doesn't provide and one Safari already spoofs, I cannot 
> see the harm.

Well this is going to break every other site that actually has konqueror-specific
code (and that uses product to detect khtml), doesn't it?
I'm okay with spoofing when the useragent was explicitely set to something
else, but IMHO by default the product should remain "Konqueror/khtml".

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list