You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/articles-references.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
*[History of the browser user-agent string🡭](https://webaim.org/blog/user-agent-string-history/)*—Aaron Andersen*
5
5
*[The problem with User-Agent strings🡭](https://nielsleenheer.com/articles/2024/the-problem-with-user-agent-strings/)*—Niels Leenheer*
6
6
*[All You Need to Know About Browser's User Agent String🡭](https://dev.to/saadnoorsalehin/all-you-need-to-know-about-browser-s-user-agent-string-5fe6)*—Saadnoor Salehin*
7
-
*[Automatically Personalize E-Learning with User Agent](https://charlesofalltrades.com/blog/automatically-adjust-your-e-learning-based-on-os/)*—Charles Palmer*
7
+
*[Automatically Personalize E-Learning with User Agent🡭](https://charlesofalltrades.com/blog/automatically-adjust-your-e-learning-based-on-os/)*—Charles Palmer*
8
8
*[Building a Modern ReactJS App to Detect Browser and Device Details🡭](https://codewithghazi.substack.com/p/building-a-modern-reactjs-app-to)*—Ghazi Khan*
9
9
*[Determining User Device Type (Mobile or Desktop) in a Node.js Environment🡭](https://levelup.gitconnected.com/determining-user-device-type-mobile-or-desktop-in-a-node-js-environment-e8870bc8f3ea)*—Hongji Li*
10
10
*[Device Detection with User Agent Strings🡭](https://www.aworkinprogress.dev/device-detection-with-ua-strings)*—Gao Wei*
Copy file name to clipboardExpand all lines: docs/guides/how-to-detect-ios-26-using-javascript.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Starting with Safari on iOS 26, you can no longer rely on the User-Agent string
5
5
-[Safari on iOS/iPadOS/visionOS 26: "user agent string no longer lists the current version of the operating system"🡭](https://webkit.org/blog/17333/webkit-features-in-safari-26-0/#update-to-ua-string)*—Webkit Blog*
6
6
7
7
::: info
8
-
Example User-Agent string on iOS 18.6:
8
+
An example of User-Agent string on iOS 18.6:
9
9
10
10
`Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Mobile/15E148 Safari/604.1`
11
11
@@ -16,21 +16,22 @@ Meanwhile the User-Agent string on iOS 26:
16
16
17
17
---
18
18
19
-
In the meantime, a temporary workaround would be like this:
19
+
::: tip
20
+
Since UAParser.js version `2.0.6`, the iOS version will be correctly detected as `26.x` instead of `18.6`. Whereas for version `2.0.5` and below, you can use a _temporary workaround_ like this:
You can also parse multiple User-Agent strings from a file and exporting the results as JSON. This is useful for bulk analysis, log processing, or offline User-Agent parsing.
0 commit comments