如何从“网络"选项卡隐藏请求 [英] How to hide request from Network tab

查看:228
本文介绍了如何从“网络"选项卡隐藏请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从浏览器开发者工具的网络"标签中隐藏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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆