Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome is deprecating navigator.userAgent #808

Open
erikras opened this issue Jul 20, 2021 · 1 comment
Open

Chrome is deprecating navigator.userAgent #808

erikras opened this issue Jul 20, 2021 · 1 comment

Comments

@erikras
Copy link

erikras commented Jul 20, 2021

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

@thatguyjono94
Copy link

thatguyjono94 commented Aug 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants