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

Unified Diff: docs/ios/user_agent.md

Issue 2778973002: Add the user agent content into the docs repo. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/ios/opening_links.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/ios/user_agent.md
diff --git a/docs/ios/user_agent.md b/docs/ios/user_agent.md
new file mode 100644
index 0000000000000000000000000000000000000000..71e8baaa18fa665e84bbfb2612093553bf70e462
--- /dev/null
+++ b/docs/ios/user_agent.md
@@ -0,0 +1,21 @@
+# User Agent in Chrome for iOS
+
+The User Agent (UA) in Chrome for iOS is the same as the Mobile Safari
+user agent, with `CriOS/<ChromeRevision>` instead of
+`Version/<VersionNum>`.
+
+Here’s an example of the **Chrome** UA on iPhone:
+
+<pre>
+Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X)
+AppleWebKit/602.1.50 (KHTML, like Gecko) <b>CriOS/56.0.2924.75</b>
+Mobile/14E5239e Safari/602.1
+</pre>
+
+For comparison, the **Safari** UA:
+
+<pre>
+Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X)
+AppleWebKit/603.1.23 (KHTML, like Gecko) Version/10.0
+Mobile/14E5239e Safari/602.1
+</pre>
« no previous file with comments | « docs/ios/opening_links.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698