在 Chrome 扩展中获取 XmlHttpRequest 的
2018-09-01 本文已影响0人
智山阿碧
Chrome 扩展接口允许开发者能过 WebRequest 接口,来捕获指定网页发出的 HTTP_Request,能过 [onBeforeRequest](https://crxdoc-zh.appspot.com/extensions/webRequest#event-onBeforeRequest),扩展甚至可以更改要发出的 Http_Request,但是在 [onCompleted](https://crxdoc-zh.appspot.com/extensions/webRequest#event-onCompleted) 接口中,确没有允许扩展获取到 Http_Response