You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
Chrome 103 on Windows warns about Shortcuts.js's usage of navigator.userAgent, navigator.appVersion, and navigator.platform:
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."
Thanks for letting me know. I'm not really sure where this is coming from as Shortcuts JS doesn't do anything with the navigator object. I can only imagine it's coming from one of the dependencies. Are you able to dig any deeper into the warning to see the call stack and find where exactly the warning comes from?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Chrome 103 on Windows warns about Shortcuts.js's usage of navigator.userAgent, navigator.appVersion, and navigator.platform:
https://blog.chromium.org/2021/09/user-agent-reduction-origin-trial-and-dates.html
Discovered when using "create-react-app".
The text was updated successfully, but these errors were encountered: