8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isProbablyUsingAdBlock()
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the pages injected by the wizard it would be great to have a function that detects whether the user is using an ad blocker so we can tell them to disable the adblocker to try out Sentry.
The text was updated successfully, but these errors were encountered:
isProbablyUsingAdBlock
diagnoseSdkConnectivity()
feat(browser): Add diagnoseSdkConnectivity() function to programmat…
2e26182
…ically detect possible connectivity issues (#15821) Resolves #15780 Adds a function `diagnoseSdkConnectivity` that will resolve to various "error codes" for possible reasons why events might not land in Sentry. Originally I wanted to add an API to detect ad blockers so we can show a notification in the example pages that the wizard creates. Then I quickly thought of a different case why the SDK might not send data so I extended the API to also detect if the SDK wasn't initialized yet. We can extend this function at any point if we come up with more cases.
This issue was referenced by PR #15821, which was included in the 9.10.0 release.
Sorry, something went wrong.
lforst
Successfully merging a pull request may close this issue.