Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1413054

    The warning is:
    Audit 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.
    1 source
    avia-compat.js:1

    You can see the warning on this home page.

    #1413101

    Hey zimbo,

    Thank you for the inquiry.

    Are you experiencing any issues with the site? We are not getting any warnings when using Chrome, but we did identify the scripts using the Navigator.userAgent property. Since this is not a critical issue, we will likely leave it as is for now.

    Best regards,
    Ismael

    #1413120

    Hi,

    Not experiencing any issues but thought it worth pointing out… :-)

    I thought it also threw up a Lighthouse error but checking again I can’t see one.

    Regards

    #1413212

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1413228

    I personally think it should be fixed as I’d have thought you’d want to maintain compatibility with all browsers. You can close it.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Dev Tools warning on avia-compat.js’ is closed to new replies.