[webkit-gtk] Dynamic user agent
Niranjan Rao
nhrdls at gmail.com
Mon May 5 11:32:52 PDT 2014
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.
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140505/5b31abd4/attachment.html>
More information about the webkit-gtk
mailing list