On Mon, 2010-09-06 at 17:08 +0200, Fabian Greffrath wrote: > > * debian/patches/04-spoof-user-agent-to-google.patch: > > - spoof User Agent when talking to Google servers; > > this should make Youtube HTML5 work again (Closes: #567311) > > Wouldn't it maybe make more sense to simply add "like Chrome/X.Y" to > the "Safari/X.Y" part of the User Agent String, instead of explicit > spoofing it only for Google's sites? Especially because the > hand-crafted list of google domain names seems highly error prone.
No, because we are more like Safari than like Chrome (we use the same JS engine as Safari, for instance), so we want to avoid them assuming anything that is only true for Chrome. Also, we want the browsers like Midori and Epiphany to be able to set their own user agents, and just "spoof" (send the "standard" user agent) to those sites which are too stupid to do User Agent checks. A better place to discuss this is in the upstream bug report, though! =) Cheers, -- Gustavo Noronha Silva <k...@debian.org> Debian
signature.asc
Description: This is a digitally signed message part