第三方IPC呼叫Chromium以捕获/过滤流量 [英] Third party IPC calls to Chromium to capture/filter traffic

查看:122
本文介绍了第三方IPC呼叫Chromium以捕获/过滤流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Chromium实现类似于网络级AdBlock / NoScript的工具,但是Chromium Extension API在控制原始请求数据方面做得并不多。

I want to implement a network level AdBlock/NoScript-like tool for Chromium, but Chromium Extension API can not do much about controlling raw request data.

是这样的想法:


  1. 捕获所有HTTP查询,如果URL或MIME匹配则取消一个。

  2. 手工数据包,例如在HTTP查询中插入标头。

可以通过运行第三方客户端来实现此功能吗? = http://www.chromium.org/developers/design-documents/inter-process-communication rel = nofollow noreferrer>对铬的IPC呼叫吗?

Can this be implemented by running a thirdparty client making IPC calls to Chromium? A snippet of sample code would be awesome!

(注意:安全性目前不是问题,因为我只想出于个人利益而不是为了公众利益而尝试

(Note: Security is not a problem at the moment coz I only want to try it out for personal interest, not for public distribution. So it may break the sandbox mechanism.)

推荐答案

不,它不能。无论是Chromium扩展还是IPC,Chromium网络堆栈均不支持此级别的控制。这项工作正在进行中。您应该观看 http://code.google.com/p/chromium/ issue / detail?id = 50943

No it cannot. The Chromium network stack does not support this level of control, neither by Chromium extension, nor by IPC. It's a work in progress. You should watch http://code.google.com/p/chromium/issues/detail?id=50943.

这篇关于第三方IPC呼叫Chromium以捕获/过滤流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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