Chrome complaining about navigator.userAgent

164 views
Skip to first unread message

Mario Valle

unread,
Jul 31, 2021, 2:15:53 AM7/31/21
to KnockoutJS
Upgraded Chrome and it started complaining:

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. In a future version of Chrome, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown.
Affected resources:

knockout-latest.js:1

What could I do? I'm running "knoc...@3.5.1"
Thanks!
Reply all
Reply to author
Forward
0 new messages