On Thu, Jul 30, 2009 at 8:52 AM, smacdo<illyn...@gmail.com> wrote: > Is there a way to intercept sub requests made by a webpage? For > example, if I load google.com and it makes sub requests to load the > images can I intercept them? I don't want to run _after_ the page > loads (like the tutorial demonstrates), rather I want the ability to > kill/modify the request URL before it sent out.
No, there is no support for this yet. However frequently you can get a similar effect by using a content script to set the style of all images, movies, whatever to display:none. This will prevent them from loading. Then you can walk the DOM and find the ones to enable/disable. We do want to eventually have a request interception API, but we won't have it anytime soon. - a --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: chromium-discuss@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---