如何隐藏来自网络选项卡的请求 [英] How to hide request from Network tab
问题描述
如何在浏览器开发者工具的网络选项卡中隐藏api服务请求?任何建议
How can I hide api service request from the network tab of the browser developer tool? Any suggestion
推荐答案
虽然我强烈建议不要这样做(因为它不会阻止任何认真的用户),但可以例如通过 flash 或为任何其他具有此类功能的插件都很重要.实现这一目标的最简单方法是使用支持 flash 的 XHR 代理对象,例如 flXHR
项目(尽管您必须强制它也在同一个域上运行,而不仅仅是跨域).让我再次结束,不建议您这样做,因为插件的使用会导致您的用户消息的重要子集出现或根本不起作用,这绝不是一种好的体验.
Although I would strongly disadvice from doing so (as it won't stop any serious user), it would be possible to for example send it through flash or for that matter any other plugin with such functionality. The easiest way to achieve this would be to use a flash-enabled XHR proxy object like the one provided by the flXHR
project (though you would have to force it to also function on the same domain, rather than only cross domain). Let me finish once again with not advicing you to do so, as the use of plugins will cause for a significant subset of your users messages to appear or not to work at all, which is in no way a good experience.
这篇关于如何隐藏来自网络选项卡的请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!