kdevara at quicinc.com
Mon Sep 12 19:12:18 PDT 2011
or whichever URL you are requesting the frames for? You will have to create your own XHR object for the HTTP Request.
From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Rob Crowell
Sent: Monday, September 12, 2011 6:42 PM
To: webkit-dev at lists.webkit.org
I'm working on a web scraper that embeds WebKit directly (via pyWebKitGTK if it matters, though I don't think my question is specific to that library). I'm trying to extract image metadata (domains, dimensions, location on the page, etc) from a page, including any iframes that are embedded there.
I've come across the WebKitSecurityOrigin object and I've been able to extract the host/port/protocol of my current page, but I haven't found a way to spoof this mechanism...
I know too that Chrome has the --disable-web-security flag, but I can't quite put my finger on what I need to do to replicate this functionality when working with WebKit directly.
Can anyone offer a pointer or suggestion?
Thanks so much!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev