]> Skullheadx's Git Forge - surf.git/commitdiff
Useragent strings do not count anymore. This is adding some text so every
authorChristoph Lohmann <20h@r-36.net>
Fri, 16 Nov 2012 21:31:36 +0000 (22:31 +0100)
committerChristoph Lohmann <20h@r-36.net>
Fri, 16 Nov 2012 21:31:36 +0000 (22:31 +0100)
website (especially Google) is fooled to believe us to be compatible. The
right way seems to be to add Surf at the end and let the big guys handle their
useragent header war.

config.def.h

index 9c1a76a6be6a900b15e58b6b9bd638c6a6af4afe..d227b8075684d5571b67c897252464def76d402c 100644 (file)
@@ -1,5 +1,7 @@
 /* modifier 0 means no modifier */
-static char *useragent      = "Surf/"VERSION" (X11; U; Unix; en-US) AppleWebKit/531.2+ Compatible (Safari)";
+static char *useragent      = "Mozilla/5.0 (X11; U; Unix; en-US) "
+       "AppleWebKit/537.15 (KHTML, like Gecko) Chrome/24.0.1295.0 "
+       "Safari/537.15 Surf/"VERSION;
 static char *progress       = "#0000FF";
 static char *progress_untrust = "#FF0000";
 static char *progress_trust = "#00FF00";