sockjs-client icon indicating copy to clipboard operation
sockjs-client copied to clipboard

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

Open arturosanz opened this issue 2 years ago • 0 comments

DevTools failed to load source map: Could not load content for webpack:///node_modules/sockjs-client/dist/sockjs.js.map: Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

  1. Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform
    1. 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.

    2. AFFECTED RESOURCES
      1. 1 source
        1. sockjs.js:1

arturosanz avatar Jul 20 '22 10:07 arturosanz