[英]How to bypass Browser add-ons from Blocking Azure Application Insight Logs
I'm using Application Insights JS SDK React Plugin to log application insights data to Azure.我正在使用 Application Insights JS SDK React Plugin将应用程序洞察数据记录到 Azure。 This data publishing could get blocked by some browser extensions such as Ad Blocker, Privacy Badger, etc. In my case analytics got blocked by Privacy Badger while experimenting.
此数据发布可能会被某些浏览器扩展程序(例如 Ad Blocker、Privacy Badger 等)阻止。在我的案例中,分析在试验时被 Privacy Badger 阻止。
I know it can be prevented by disabling relevant add-ons for the particular site from the browser.我知道可以通过从浏览器禁用特定站点的相关加载项来防止它。 Just wondering is there a particular way to prevent this from implementation side without asking users to disable their add-ons.
只是想知道是否有一种特殊的方法可以在不要求用户禁用其附加组件的情况下从实施方面防止这种情况发生。
Have you considered building a proxy to forward traffic to your own domain before then passing it off to App Insights?您是否考虑过构建代理以将流量转发到您自己的域,然后再将其传递给 App Insights?
https://github.com/shaneochotny/ApplicationInsights-JS-Proxyhttps://github.com/shaneochotny/ApplicationInsights-JS-Proxy
Show how to proxy requests from the Application Insights Javascript SDK instead of sending telemetry directly to dc.services.visualstudio.com.
展示如何代理来自 Application Insights Javascript SDK 的请求,而不是将遥测数据直接发送到 dc.services.visualstudio.com。 This allows you to do things such as use your own custom domain and/or hide the Instrumentation Key.
这允许您执行诸如使用您自己的自定义域和/或隐藏 Instrumentation Key 之类的事情。
There are step by step instructions in that link to configure this该链接中有分步说明来配置它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.