[webkit-gtk] Intercepting Resource Loading

Gustavo Noronha Silva gns at gnome.org
Thu Feb 18 11:39:45 PST 2010


On Thu, 2010-02-18 at 10:44 -0800, Leo L. Schwab wrote:
> 	Since this is intended to be an HTML/email viewer and not a Web
> browser, I want my app to handle all remote resource requests.  As an
> example, if a request is made for an image, and that image just happens to
> be attached to the current email, I'd like to be able to hand it to WebKit
> directly.  Anything that would open a network connection would be blocked.

Both devhelp, and yelp have good examples of how you could do this, or
you could use the solution provided by Peter Bloomfield.

The real solution, though, will be this:

	https://bugzilla.gnome.org/show_bug.cgi?id=557777
	http://danw.mysterion.org/2010/01/webkitgtk-hackfest/

This will allow you to implement what you need in a much saner fashion,
and will allow balsa/devhelp/yelp developers to also not need to go to
such lengths =)

See you,

-- 
Gustavo Noronha Silva <gns at gnome.org>
GNOME Project



More information about the webkit-gtk mailing list