Add 'Version/5.0' token to Safari identification
Some websites checking for Safari also look for the token.
This commit is contained in:
parent
1d043194da
commit
fbbaf576f3
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ generate_ident_string (MidoriIdentity identify_as)
|
||||||
appname, platform, os, lang, webcore_major, webcore_minor);
|
appname, platform, os, lang, webcore_major, webcore_minor);
|
||||||
case MIDORI_IDENT_SAFARI:
|
case MIDORI_IDENT_SAFARI:
|
||||||
return g_strdup_printf ("Mozilla/5.0 (%s; U; %s; %s) "
|
return g_strdup_printf ("Mozilla/5.0 (%s; U; %s; %s) "
|
||||||
"AppleWebKit/%d+ (KHTML, like Gecko) Safari/%d.%d+ %s",
|
"AppleWebKit/%d+ (KHTML, like Gecko) Version/5.0 Safari/%d.%d+ %s",
|
||||||
platform, os, lang, webcore_major, webcore_major, webcore_minor, appname);
|
platform, os, lang, webcore_major, webcore_major, webcore_minor, appname);
|
||||||
case MIDORI_IDENT_IPHONE:
|
case MIDORI_IDENT_IPHONE:
|
||||||
return g_strdup_printf ("Mozilla/5.0 (iPhone; U; %s; %s) "
|
return g_strdup_printf ("Mozilla/5.0 (iPhone; U; %s; %s) "
|
||||||
|
|
Loading…
Reference in a new issue