Reputation: 31
I am working on creating an chrome extension to filter http requests. That means when request an URL, chrome extension can filter some object requests and do not send them to web server. I searched for a while, did not find a solution in chrome.* API. Does anyone know ifGoogle chrome support this, or is there any way to accomplish this function?
Upvotes: 3
Views: 2492
Reputation: 57651
There is webRequest API. At the moment it is still experimental but will apparently become stable with Chrome 17 (can be tested in Canary builds). There the API is called chrome.webRequest
rather than chrome.experimental.webRequest
and requires webRequest
permission (plus webRequestBlocking
if you want to block requests). Other than that the current documentation is correct.
Upvotes: 2