Skip to content

Commit 8863dd1

Browse files
committed
Update to latest changes
1 parent 2b5b763 commit 8863dd1

20 files changed

+163
-30
lines changed

docs/.vitepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default defineConfig({
2727
nav: [
2828
{ text: 'Home', link: '/' },
2929
{
30-
text: '2.0.0',
30+
text: '2.0.3',
3131
items: [
3232
{
3333
text: 'Changelog',

docs/api/submodules/extensions/crawlers.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,78 @@
33
Bots that automatically visit websites and collect data.
44

55
- `360Spider`
6+
- `adidxbot`
67
- `AhrefsBot`
78
- `AI2Bot`
89
- `aiHitBot`
910
- `Amazonbot`
10-
- `anthropic-ai`
1111
- `Applebot`
1212
- `Applebot-Extended`
13-
- `Archive.org`
13+
- `anthropic-ai`
14+
- `archive.org_bot`
1415
- `Baiduspider`
16+
- `Baiduspider-ads`
17+
- `Baiduspider-cpro`
18+
- `Baiduspider-favo`
19+
- `Baiduspider-image`
20+
- `Baiduspider-news`
21+
- `Baiduspider-render`
22+
- `Baiduspider-video`
23+
- `bingbot`
1524
- `Bytespider`
16-
- `Bingbot`
1725
- `CCBot`
26+
- `Claude-Web`
1827
- `ClaudeBot`
19-
- `Coc Coc Bot`
28+
- `coccocbot-web`
29+
- `coccocbot-image`
30+
- `DataForSeoBot`
2031
- `Diffbot`
2132
- `Dotbot`
2233
- `DuckDuckBot`
2334
- `Exabot`
2435
- `FacebookBot`
36+
- `facebookexternalhit`
37+
- `facebookcatalog`
38+
- `Google-InspectionTool`
39+
- `Google-Safety`
2540
- `Googlebot`
41+
- `Googlebot-Image`
42+
- `Googlebot-News`
43+
- `Googlebot-Video`
44+
- `GoogleOther`
45+
- `GoogleOther-Image`
46+
- `GoogleOther-Video`
2647
- `GPTBot`
48+
- `ia_archiver`
2749
- `ImagesiftBot`
50+
- `Linespider`
51+
- `LinkedInBot`
2852
- `magpie-crawler`
53+
- `meta-externalagent`
2954
- `Omgilibot`
3055
- `MJ12Bot`
3156
- `MojeekBot`
3257
- `OAI-SearchBot`
58+
- `omgili`
59+
- `omgilibot`
3360
- `PerplexityBot`
61+
- `PetalBot`
3462
- `Screaming Frog SEO Spider`
3563
- `SemrushBot`
64+
- `SemrushBot-BA`
65+
- `SemrushBot-SI`
66+
- `SemrushBot-OCOB`
3667
- `Seznambot`
3768
- `Slurp`
38-
- `Sogou Spider`
69+
- `Sogou web spider`
70+
- `Storebot-Google`
3971
- `Teoma`
4072
- `Timpibot`
73+
- `TurnitinBot`
4174
- `VelenPublicWebCrawler`
4275
- `Webzio-Extended`
76+
- `Y!J-BRW`
77+
- `Yahoo! Slurp`
4378
- `YandexBot`
4479
- `Yeti`
4580
- `YisouSpider`

docs/api/submodules/extensions/fetchers.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,31 @@ Bots that retrieve content from <u>**specific**</u> URLs <u>**on demand**</u>
44

55
- `AhrefsSiteAudit`
66
- `BingPreview`
7+
- `Better Uptime Bot`
8+
- `Bluesky`
79
- `ChatGPT-User`
810
- `cohere-ai`
911
- `Discordbot`
1012
- `DuckAssistBot`
1113
- `FeedFetcher-Google`
12-
- `Google-Read-Aloud`
14+
- `Google-PageRenderer`
15+
- `Google-Read-Aloud`
16+
- `Google-Site-Verification`
17+
- `GoogleImageProxy`
18+
- `GoogleProducer`
1319
- `LinkedInBot`
1420
- `Mastodon`
21+
- `meta-externalfetcher`
22+
- `MicrosoftPreview`
1523
- `Pinterestbot`
1624
- `Redditbot`
17-
- `Rogerbot`
25+
- `rogerbot`
26+
- `SiteAuditBot`
1827
- `Slackbot`
1928
- `Slack-ImgProxy`
2029
- `Slack-LinkExpanding`
30+
- `SkypeUriPreview`
31+
- `Snap URL Preview`
2132
- `Snapchat`
2233
- `Telegrambot`
2334
- `Twitterbot`

docs/api/submodules/extensions/vehicles.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
```sh:no-line-numbers
44
# List of known vehicles
5-
BYD, Rivian, Volvo
5+
BMW, BYD, Jeep, Rivian, Volvo
66
```
77

88
## Code Example
@@ -11,4 +11,13 @@ BYD, Rivian, Volvo
1111
import { Vehicles } from 'ua-parser-js/extensions';
1212

1313
const vehicleParser = new UAParser(Vehicles);
14+
15+
const byd_ua = "Mozilla/5.0 (Linux; Android 10; DiLink3.0 For BYD AUTO Build/QKQ1.200816.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.186 Safari/537.36";
16+
const jeep_ua = "Mozilla/5.0 (Linux; Android 9; AFTLFT962X3) AppleWebKit/537.36 (KHTML, like Gecko) Silk/124.5.2 like Chrome/124.0.6367.248 Safari/537.36";
17+
18+
let vehicle = vehicleParser.setUA(jeep_ua).getDevice();
19+
console.log(vehicle); // { vendor: "Jeep", model: "Wagooner" }
20+
21+
vehicle = vehicleParser.setUA(byd_ua).getDevice();
22+
console.log(vehicle); // { vendor: "BYD" }
1423
```

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
layout: home
33

44
title: UAParser.js Documentation Reference
5-
titleTemplate: Detect Browser, Operating System, CPU, and Device with JavaScript
5+
titleTemplate: Detect User's Browser, Operating System, CPU, and Device Details
66

77
hero:
88
name: UAParser.js
99
text: Documentation Reference
10-
tagline: Detect Browser, Operating System, CPU, and Device with JavaScript
10+
tagline: Detect User's Browser, Operating System, CPU, and Device Details
1111
actions:
1212
- text: Why UAParser.js?
1313
link: /intro/why-ua-parser-js

docs/info/browser/name.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Here is a list of possible values for `browser.name`:
2121
- [`Camino`](./name/camino.md)
2222
- [`Chimera`](./name/chimera.md)
2323
- [`Chrome`](./name/chrome.md)
24-
- [`Chrome Mobile`](./name/chrome-mobile.md)
2524
- [`Chrome Headless`](./name/chrome-headless.md)
2625
- [`Chrome WebView`](./name/chrome-webview.md)
2726
- [`Chromium`](./name/chromium.md)
@@ -30,9 +29,11 @@ Here is a list of possible values for `browser.name`:
3029
- [`Dragon`](./name/dragon.md)
3130
- [`Conkeror`](./name/conkeror.md)
3231
- [`Dillo`](./name/dillo.md)
32+
- `Dooble`
3333
- [`Dolphin`](./name/dolphin.md)
3434
- [`Doris`](./name/doris.md)
3535
- [`DuckDuckGo`](./name/duckduckgo.md)
36+
- `Ecosia`
3637
- [`Edge`](./name/edge.md)
3738
- [`Electron`](./name/electron.md)
3839
- [`Epiphany`](./name/epiphany.md)
@@ -42,7 +43,6 @@ Here is a list of possible values for `browser.name`:
4243
- [`Firebird`](./name/firebird.md)
4344
- [`Firefox`](./name/firefox.md)
4445
- [`Firefox Focus`](./name/firefox-focus.md)
45-
- [`Firefox Mobile`](./name/firefox-mobile.md)
4646
- [`Firefox Reality`](./name/firefox-reality.md)
4747
- [`Flock`](./name/flock.md)
4848
- [`Flow`](./name/flow.md)
@@ -71,7 +71,8 @@ Here is a list of possible values for `browser.name`:
7171
- [`Klarna`](./name/klarna.md)
7272
- [`Konqueror`](./name/konqueror.md)
7373
- [`LBBROWSER`](./name/liebao.md)
74-
- `LibreWolf`
74+
- [`LG Browser`](./name/lg-browser.md)
75+
- [`LibreWolf`](./name/librewolf.md)
7576
- [`Line`](./name/line.md)
7677
- [`LinkedIn`](./name/linkedin.md)
7778
- [`Links`](./name/links.md)
@@ -82,6 +83,9 @@ Here is a list of possible values for `browser.name`:
8283
- [`Midori`](./name/midori.md)
8384
- [`Minimo`](./name/minimo.md)
8485
- [`MIUI Browser`](./name/miui.md)
86+
- [`Mobile Chrome`](./name/mobile-chrome.md)
87+
- [`Mobile Firefox`](./name/firefox-mobile.md)
88+
- [`Mobile Safari`](./name/mobile-safari.md)
8589
- [`Mosaic`](./name/mosaic.md)
8690
- [`Mozilla`](./name/mozilla.md)
8791
- [`Naver`](./name/naver.md)
@@ -99,6 +103,7 @@ Here is a list of possible values for `browser.name`:
99103
- [`Opera Mobi`](./name/opera-mobi.md)
100104
- [`Opera Tablet`](./name/opera-tablet.md)
101105
- [`Opera Touch`](./name/opera-touch.md)
106+
- `Otter`
102107
- [`OviBrowser`](./name/ovi.md)
103108
- [`PaleMoon`](./name/palemoon.md)
104109
- [`PhantomJS`](./name/phantomjs.md)
@@ -110,10 +115,10 @@ Here is a list of possible values for `browser.name`:
110115
- [`QQBrowserLite`](./name/qq-lite.md)
111116
- [`Quark`](./name/quark.md)
112117
- [`QupZilla`](./name/qupzilla.md)
118+
- `qutebrowser`
113119
- [`Rekonq`](./name/rekonq.md)
114120
- [`RockMelt`](./name/rockmelt.md)
115121
- [`Safari`](./name/safari.md)
116-
- [`Safari Mobile`](./name/safari-mobile.md)
117122
- [`Sailfish Browser`](./name/sailfish.md)
118123
- [`Samsung Internet`](./name/samsung-internet.md)
119124
- [`SeaMonkey`](./name/seamonkey.md)
@@ -127,6 +132,7 @@ Here is a list of possible values for `browser.name`:
127132
- [`Snapchat`](./name/snapchat.md)
128133
- [`Sogou Explorer`](./name/sogou-explorer.md)
129134
- [`Sogou Mobile`](./name/sogou-mobile.md)
135+
- `Surf`
130136
- [`Swiftfox`](./name/swiftfox.md)
131137
- [`Tesla`](./name/tesla.md)
132138
- [`TikTok`](./name/tiktok.md)

docs/info/browser/name/lg-browser.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# [`IBrowser`](/api/main/get-browser.md) . [`name`](../name.md)
2+
3+
---
4+
# LG Browser
5+
6+
### webOS
7+
8+
```sh
9+
Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.41 (KHTML, like Gecko) Large Screen Safari/537.41 LG Browser/7.00.00(LGE; 47LB680V-ZD; 05.05.90; 1); webOS.TV-2014; LG NetCast.TV-2013 Compatible (LGE, 47LB680V-ZD, wired)
10+
```

docs/info/browser/name/librewolf.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# [`IBrowser`](/api/main/get-browser.md) . [`name`](../name.md)
2+
3+
---
4+
# LibreWolf
5+
6+
### Linux
7+
8+
```sh
9+
Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0 LibreWolf/97.0.1
10+
```

docs/info/cpu/arch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# `cpu.architecture`
1+
# [`ICPU`](/api/main/get-cpu.md) . `architecture`
22

3-
Type of the CPU architecture.
3+
Here is a list of possible values for `cpu.architecture`:
44

5-
| `cpu.architecture` | Description |
5+
| Value | Description |
66
|----------------------|-------------------------------|
77
| `ia32` | Intel x86 |
88
| `amd64` | Intel x86-64 / x64 |

docs/info/device/model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `device.model`
1+
# [`IDevice`](/api/main/get-device.md) . `model`
22

33
Name and series of the device, determined dynamically from user-agent data.

docs/info/device/type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `device.type`
1+
# [`IDevice`](/api/main/get-device.md) . `type`
22

3-
Type of the device.
3+
Here is a list of possible values for `device.type`:
44

55
| `device.type` | Description | Examples |
66
|-|-|-|

docs/info/device/vendor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `device.vendor`
1+
# [`IDevice`](/api/main/get-device.md) . `vendor`
22

3-
Vendor company of the device.
3+
Here is a list of possible values for `device.vendor`:
44

55
- `Acer`
66
- `Advan`

docs/info/engine/name.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `engine.name`
1+
# [`IEngine`](/api/main/get-engine.md) . `name`
22

3-
Name of the engine.
3+
Here is a list of possible values for `engine.name`:
44

55
| `engine.name` | Description |
66
|-|-|

docs/info/engine/version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `engine.version`
1+
# [`IEngine`](/api/main/get-engine.md) . `version`
22

33
Version of the engine, determined dynamically from user-agent data.

docs/info/os/name.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `os.name`
1+
# [`IOS`](/api/main/get-os.md) . `name`
22

3-
Name of the operating system.
3+
Here is a list of possible values for `os.name`:
44

55
- `AIX`
66
- `Amiga OS`

docs/info/os/version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `os.version`
1+
# [`IOS`](/api/main/get-os.md) . `version`
22

33
Version of the operating system, determined dynamically from user-agent data.

0 commit comments

Comments
 (0)