Merge lp:~sergiodj/midori/update-chromium-version into lp:midori

Proposed by Sergio Durigan Junior
Status: Merged
Approved by: Paweł Forysiuk
Approved revision: 7059
Merged at revision: 7060
Proposed branch: lp:~sergiodj/midori/update-chromium-version
Merge into: lp:midori
Diff against target: 12 lines (+1/-1)
1 file modified
midori/midori-websettings.c (+1/-1)
To merge this branch: bzr merge lp:~sergiodj/midori/update-chromium-version
Reviewer Review Type Date Requested Status
Paweł Forysiuk Approve
Review via email: mp+278266@code.launchpad.net

Commit message

Update version of Chrome/Chromium's User-Agent

We identify ourselves as Chromium to other websites, but the version
we use in the User-Agent string is pretty old. This commit updates it
to a newer version (49.0.2571.2, from Nov 22 2015). The positive
side-effect from doing this is that Google does not bother the user
asking her to upgrade to a "newer Chrome".

Description of the change

Update version of Chrome/Chromium's User-Agent

We identify ourselves as Chromium to other websites, but the version
we use in the User-Agent string is pretty old. This commit updates it
to a newer version (49.0.2571.2, from Nov 22 2015). The positive
side-effect from doing this is that Google does not bother the user
asking her to upgrade to a "newer Chrome".

To post a comment you must log in.
Revision history for this message
Paweł Forysiuk (tuxator) wrote :

Looks sensible

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'midori/midori-websettings.c'
2--- midori/midori-websettings.c 2015-07-06 21:26:46 +0000
3+++ midori/midori-websettings.c 2015-11-22 19:31:17 +0000
4@@ -837,7 +837,7 @@
5 case MIDORI_IDENT_MIDORI:
6 case MIDORI_IDENT_CHROME:
7 return g_strdup_printf ("Mozilla/5.0 (%s %s) AppleWebKit/%d.%d "
8- "(KHTML, like Gecko) Chrome/18.0.1025.133 Safari/%d.%d %s",
9+ "(KHTML, like Gecko) Chrome/46.0.2490.86 Safari/%d.%d %s",
10 platform, os, webcore_major, webcore_minor, webcore_major, webcore_minor, appname);
11 case MIDORI_IDENT_SAFARI:
12 return g_strdup_printf ("Mozilla/5.0 (Macintosh; U; Intel Mac OS X; %s) "

Subscribers

People subscribed via source and target branches