[webkit-gtk] HTTP Request
iranian.secure at gmail.com
Mon Dec 12 10:01:59 PST 2011
Data URI scheme as described here:
http://en.wikipedia.org/wiki/Data_URI_scheme was what I was looking for
Thanks a lot
On Mon, Dec 12, 2011 at 7:33 PM, Emmanuel Rodriguez <
emmanuel.rodriguez at gmail.com> wrote:
> On Mon, Dec 12, 2011 at 13:41, Iranian Secure <iranian.secure at gmail.com>
> > I'm using webkitgtk for showing special data using HTML,
> > all data is generated at run-time and is set by
> > by making a network request but I want it to load them how I want,
> > is there a way to tell webkit-gtk to use a custom function instead of
> > using libsoup?
> You can connect to the WebView's signal 'resource-request-starting'
> . In the callback you can tell webkit to either ignore the request
> by setting the URI to 'about:blank' or you can swap in your custom
> content by using a data URL 'data:data-goes-here'. I haven't tested
> this last option but I saw it on the internet so it must be true :)
> Emmanuel Rodriguez
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk