ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

[BUG] Application Insights JavaScript(Web) SDK v3 using deprecated APIs affecting lighthouse score

Open rubiks-cube opened this issue 1 year ago • 2 comments

Application Insights JavaScript(Web) SDK v3 using deprecated APIs affecting lighthouse score best practices. Please suggest some way to remove this issue.

Image

rubiks-cube avatar Oct 14 '24 15:10 rubiks-cube

As a generic SDK that is designed to run in any web environment we always (by default) attempt to hook all possibly available "unload" handlers. We have a configuration option where you can tell us to not attempt to hook 0 or more events, including the unload event.

Some additional details and a link to the configuration is available in this comment, https://github.com/microsoft/ApplicationInsights-JS/issues/2427#issuecomment-2392203244

MSNev avatar Oct 14 '24 16:10 MSNev

This Issue will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.

github-actions[bot] avatar Jun 12 '25 07:06 github-actions[bot]