[webkit-gtk] Selective blocking of image requests
peterbloomfield at bellsouth.net
Thu Mar 28 06:50:18 PDT 2013
On 03/27/2013 08:10:51 PM Wed, Martin Robinson wrote:
> On Wed, Mar 27, 2013 at 4:41 PM, Peter Bloomfield
> <peterbloomfield at bellsouth.net> wrote:
> > API for disabling the scrollbars would be helpful for us, and presumably for
> > anyone who packs GtkWebkitView with other widgets in a GtkVBox to be
> > scrolled as a whole.
> I imagine the best way to do this would be to inject a CSS stylesheet
>  which disables scrollbars on toplevel frames, or if you control
> the content simply hide them via CSS.
> 1. http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebViewGroup.html#webkit-web-view-group-add-user-style-sheet
Ahh...OK, that hides the scrollbar, but crops the page. I need webkit to render the whole page, so I can pack it in a box and scroll the whole thing, to avoid a second scrollbar. Not a big deal, now that scrollbars are so narrow…
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: not available
More information about the webkit-gtk