1# Default User Agent String
2
3Since API version 11, the default user agent string is as follows for the **Web** component based on the ArkWeb kernel:
4
5Mozilla/5.0 ({deviceType}; {OSName} {OSVersion}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 ArkWeb/{ArkWeb VersionCode} {Mobile}
6
7| Field.              | Description              | Remarks              |
8| ------------------ | ------------------ | ------------------ |
9| deviceType         | Device type.          | Obtained through the mapping of the system parameter **const.product.devicetype**.|
10| OSName             | OS name of the distribution.| Obtained through the system parameter **const.product.os.dist.name**.|
11| OSVersion          | OS version of the distribution.| Obtained through the system parameter **const.ohos.fullname**.|
12| ArkWeb VersionCode | ArkWeb version.      |- |
13| Mobile (optional)    | Whether the device is a mobile phone.    |- |
14
15Example:
16
17Mozilla/5.0 (Phone; OpenHarmony 4.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 ArkWeb/4.1.6.1 Mobile
18
19You are advised to use the **ArkWeb** keyword to identify whether the device is an OpenHarmony device and whether the web kernel is ArkWeb. You can also use the **deviceType** keyword to identify the device type for page display.
20