Reputation: 1722
I am developing a web application and in a scenario, wanted to know that what will be the response of navigator.platform
in the KaiOS browser?
Upvotes: 1
Views: 193
Reputation: 7091
navigator.platform
returns an empty string on KaiOS. For device detection, you can check navigator.userAgent
which should always contain KAIOS/
followed by the OS version, i.e. 2.5.2
. For example: Mozilla/5.0 (Mobile; Nokia_8110:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5.2
Upvotes: 1