redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

Open yoyo837 opened this issue 3 years ago • 0 comments

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, 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.

https://blog.chromium.org/2021/09/user-agent-reduction-origin-trial-and-dates.html

yoyo837 avatar Apr 19 '22 08:04 yoyo837