1e41f4b71Sopenharmony_ci# Default User Agent String
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciSince API version 11, the default user agent string is as follows for the **Web** component based on the ArkWeb kernel:
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciMozilla/5.0 ({deviceType}; {OSName} {OSVersion}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 ArkWeb/{ArkWeb VersionCode} {Mobile}
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci| Field.              | Description              | Remarks              |
8e41f4b71Sopenharmony_ci| ------------------ | ------------------ | ------------------ |
9e41f4b71Sopenharmony_ci| deviceType         | Device type.          | Obtained through the mapping of the system parameter **const.product.devicetype**.|
10e41f4b71Sopenharmony_ci| OSName             | OS name of the distribution.| Obtained through the system parameter **const.product.os.dist.name**.|
11e41f4b71Sopenharmony_ci| OSVersion          | OS version of the distribution.| Obtained through the system parameter **const.ohos.fullname**.|
12e41f4b71Sopenharmony_ci| ArkWeb VersionCode | ArkWeb version.      |- |
13e41f4b71Sopenharmony_ci| Mobile (optional)    | Whether the device is a mobile phone.    |- |
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciExample:
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciMozilla/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
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciYou 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