Skip to content

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

Open
@JuliusBairaktaris

Description

@JuliusBairaktaris

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions