[webkit-gtk] Dynamic user agent

Carlos Garcia Campos cgarcia at igalia.com
Tue May 6 03:54:52 PDT 2014


El lun, 05-05-2014 a las 11:32 -0700, Niranjan Rao escribió:
> I like this idea. Right now we pretend we are chromium. Some questions
> do pop in mind.
> 
> 1. Not sure what definition of broken is - rendering problems or
> script problems? Other functionality -e.g. local storage/html5
> quirks/differences etc.

Some examples:

https://bugs.webkit.org/show_bug.cgi?id=132602
https://bugs.webkit.org/show_bug.cgi?id=129681
https://bugs.webkit.org/show_bug.cgi?id=125444
https://bugs.webkit.org/show_bug.cgi?id=124229

> 2. Where/how will lists be maintained? Given dynamic nature of sites,
> the list also has to be dynamic and can not be built at compile time.
> So one possibility is list resides on users machine through some
> settings configuration.

My first idea was to keep them static in the source code, similar to
plugin quirks, but I agree that information might become obsolete soon.

> As Egor mentioned in other mail, contacting site admin is one track
> and if webkit generates enough traffic, its incentive for the site
> owner so that it works correctly.
> 
> Personally I have not came across any site that was completely broken.
> If memory serves right, there were few sites that did not render
> correctly, but don't recall the names right now. 
> 
> On the other hand, since all the sites that we visit are using an
> automated tool, rendering problems do not impact us that much. All we
> care about is DOM and if its built correctly so that we can scrape
> information. Sites we visit are all in US and are mostly major service
> providers, so chances are high that they care about browser
> compatibility. 
> 
> I have seen some javascript problems, but nothing specific to webkit.
> If webkit reports the problem, chromium also does the same thing.
> 
> Regards,
> 
> Niranjan
> 
> On 05/05/2014 12:09 AM, Carlos Garcia Campos wrote:
> 
> > The user agent string is still causing problems in different web sites.
> > No matter how we change it, there's always a web site broken after the
> > change. So, I think it's impossible to have a static user agent string
> > that works for us everywhere. 
> > 
> > What do you think about having different user agent strings depending on
> > the website? I think in the end it's a matter of pretending to be safari
> > or chromium, so we could have a list of websites that don't work due to
> > the user agent, and generate a different string for those. 
> > 
> > If we end up doing this, it would be useful to have a list of websites
> > currently broken due to the user agent, so please share it here if you
> > know any of them.
> > 
> > Thanks! 
> > 
> > 
> > _______________________________________________
> > webkit-gtk mailing list
> > webkit-gtk at lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-gtk
> 
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk

-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140506/c32100f2/attachment.sig>


More information about the webkit-gtk mailing list