Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: docs/ios/user_agent.md

Issue 2782543003: Add Request Desktop Site UA. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # User Agent in Chrome for iOS 1 # User Agent in Chrome for iOS
2 2
3 The User Agent (UA) in Chrome for iOS is the same as the Mobile Safari 3 The User Agent (UA) in Chrome for iOS is the same as the Mobile Safari
4 user agent, with `CriOS/<ChromeRevision>` instead of 4 user agent, with `CriOS/<ChromeRevision>` instead of
5 `Version/<VersionNum>`. 5 `Version/<VersionNum>`.
6 6
7 Here’s an example of the **Chrome** UA on iPhone: 7 Here’s an example of the **Chrome** UA on iPhone:
8 8
9 ``` 9 ```
10 Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) 10 Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X)
11 AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 11 AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75
12 Mobile/14E5239e Safari/602.1 12 Mobile/14E5239e Safari/602.1
13 ``` 13 ```
14 14
15 For comparison, the **Safari** UA: 15 For comparison, the **Mobile Safari** UA:
16 16
17 ``` 17 ```
18 Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) 18 Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X)
19 AppleWebKit/603.1.23 (KHTML, like Gecko) Version/10.0 19 AppleWebKit/603.1.23 (KHTML, like Gecko) Version/10.0
20 Mobile/14E5239e Safari/602.1 20 Mobile/14E5239e Safari/602.1
21 ``` 21 ```
22
23 When the Request Desktop Site feature is enabled, the **Desktop Safari** UA is
24 sent:
25
26 ```
27 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4)
28 AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7
29 Safari/600.7.12
30 ```
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698