Comments (1)
Hello, as a generic library we will not be removing the backward compatibility support for "hooking" the unload
event.
However,
we have a really badly documented (like barely) configuration option that we introduced in v3.0.3 which allows you to tell use which events you "don't" want us to hook. So you can avoid the "warning" by simply adding the configuration option
disablePageUnloadEvents: [ "unload" ],
And once the event is no longer present (which we will still attempt to hook it), it just won't be hooked.
I'm going to mark this issue as a documentation issue as we REALLY need to document this better.
Some readme level documentation exists for the @microsoft/1ds-core-js package which is now co-located in this repo and this is the same configuraiton option as the 1ds-core-js is built on-top of applicationinsights-core-js
https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/1ds-core-js#iextendedconfiguration
from applicationinsights-js.
Related Issues (20)
- Question: Where does the id show up? HOT 3
- how to fix "NullInjectorError: No provider for AppInsightsSku!" HOT 2
- [BUG] Retry on sampled out telemetry is looping infinitely HOT 5
- Add `customSpan` telemetry type HOT 8
- [Question] App crash with the trace message HOT 1
- [BUG] - CRITICAL - Application runs out of memory HOT 7
- [BUG] Filtering logs with status code 308 does not work HOT 2
- Deprecated feature used when using with jQuery 3.7.1 HOT 8
- [BUG] `ITelemetryItem` uses intersection type instead of union type for `tags` property HOT 4
- [BUG] Network calls aren't visualized correctly between frontend(AI-JS) / backend(Azure Otel Distro) components in Application Map HOT 2
- [BUG] [Web-Snippet] dependency chain issues
- [BUG] Event time is not set HOT 4
- [BUG] @microsoft/applicationinsights-web-snippet version 1.1.1 type problem
- `console.log` unnecessarily noisy HOT 3
- Need to add max retry count for telemetry events to prevent events accumulation in sent buffer
- [Offline Support] offline support plugin can't be added to extensions of core config now, it can only be added through addPlugin
- [main] retry document updates HOT 1
- [BUG] remove 403 as a “retriable” error code
- [BUG] Circular dependencies
- ApplicationInsights-JS latest version 3.1.1 giving TypeError: Cannot read properties of undefined (reading 'getCrypto') HOT 32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-js.