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

Deprecation of navigator.userAgent, navigator.appVersion, and navigator.platform #451

Open
JuliusBairaktaris opened this issue Jun 16, 2023 · 0 comments

Comments

@JuliusBairaktaris
Copy link

Hello,

I've noticed that the webfontloader library is currently using navigator.userAgent, navigator.appVersion, and navigator.platform in its codebase. As per the recent updates from Chrome (starting in Chrome 101), the amount of information available in the User Agent string will be reduced.

This change is part of an effort to improve user privacy and security, and it is recommended to replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

I believe updating these parts of the codebase would help in maintaining compatibility with the latest browser versions and standards. Please consider this issue for the upcoming updates.

Thank you for your attention to this matter.

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

1 participant