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

Chrome is deprecating navigator.userAgent

Open erikras opened this issue 4 years ago • 1 comments

Chrome 92.0.4515.107 (Official Build) beta (x86_64) is saying:

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.

It seems to be coming from redux-devtools-extension/src/browser/extension/chromeAPIMock.js:3-6.

Article linked to: User-Agent String Reduction

devtools

erikras avatar Jul 20 '21 10:07 erikras

There's a lot of my JS libraries that have this warning. What are we suppose to do? is this urgent?

jonog94 avatar Aug 25 '21 19:08 jonog94