User agent spoofing

February 08, 2009

r8764 — Add support for UA spoofing, and spoof Safari's UA string when loading URLs from *.mail.live.com (to fix hotmail).

From the diff:

+    if (MatchPattern(url.host(), "*.mail.live.com")) {

Sadness.

Amusingly, on the other side (to plugins) we also sometimes UA spoof, telling them that we're Mozilla. (If it seems I talk about plugins a lot recently it's because I've been working on plugins on Linux.)