如何从 chrome 扩展代码访问 chrome net-internals

发布于 2025-01-02 11:23:40 字数 66 浏览 4 评论 0原文

是否可以通过我尝试编写/构建的扩展代码访问、调用和查看 chrome://net-internals/ 中的操作结果?

is it possible to access, invoke and see the results of operations in chrome://net-internals/ WITH and from the extension code that I am trying to write/build?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦言归人 2025-01-09 11:23:40

不直接。

最接近的模拟是 WebRequest API,它使您可以访问各种位以及在 Chrome 和服务器之间来回传输的网络请求片段。但是,这并不能让您访问在 net-internals 中看到的一些甚至更低级别的详细信息。

您究竟希望扩展程序能够访问哪些内容?我建议制定一个明确的用例,并提交功能请求:http://new.crbug.com/< /a> 作为你最好的选择。

Not directly.

The closest analog is the WebRequest API, which gives you access to various bits and pieces of the network requests going back and forth between Chrome and the server. That doesn't, however, give you access to some of the even lower-level details that you see in net-internals.

What exactly would you like extensions to have access to? I'd suggest formulating a clear use-case, and filing a feature request: http://new.crbug.com/ as your best bet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文