[webkit-gtk] Dynamic user agent

Carlos Garcia Campos cgarcia at igalia.com
Thu May 8 09:28:38 PDT 2014


El jue, 08-05-2014 a las 16:15 -0003, Gustavo Noronha Silva escribió:
> Hey,
> 
> On Qui, 8 Mai, 2014 at 11:07 , Carlos Garcia Campos
> <cgarcia at igalia.com> wrote:
> >         I wrote something exactly like this a while ago,
> >         specifically so that Google would stop misbehaving, so we
> >         did have something like this, but I think it was never
> >         ported to WebKit2
> > I didn't know it :-P
> 
> 
> No worries, I kinda thought I had moved that to WebCore so it could be
> shared, but I just dreamed of it, I guess =P

:-)

> 
> > Thanks for the pointer. I've wrote a patch, for now it only converts
> > the latest changes we've made to the UA string as site specific
> > quirks. Do we still need a specific UA string for google sites now
> > that we don't have Chromium/Chrome in our UA? See
> > https://bugs.webkit.org/show_bug.cgi?id=132681
> 
> 
> I like it, thanks for taking this on! I was pondering the Google thing
> while I read the patch, I think our best bet is to fake being a
> WebKit-era Chromium, probably, for now. How does that sound?

I didn't want to introduce new stuff in the first patch, so I converted
the last changes introduced into site specific quirks. Once the patch
lands, adding new quirks for google or whatever should be easier.

> 
> Cheers,
> 
> 
> Gustavo Noronha

-- 
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: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140508/8c3f02e8/attachment.sig>


More information about the webkit-gtk mailing list