GNOME Bugzilla – Bug 562762
[REGRESSION] adblock no longer works in WebKit port
Last modified: 2009-09-07 17:23:06 UTC
As per summary, it seems that adblock extension don't work in epiphany-webkit However, runnin epiphany in gdb I found thi warning: 0x080d4cac in trap_handler (log_domain=0x0, log_level=<value optimized out>, message=0x8fe9770 "/opt/gnome2/lib/epiphany/2.25/extensions/libadblockextension.so: undefined symbol: ephy_embed_reload", user_data=0x0) at ephy-debug.c:146 146 G_BREAKPOINT (); In epiphany/src/window-commands.c there is this memo: /* FIXME: no way to bypass cache when reloading * with WebKit right now. Old code did: * ephy_embed_reload (embed, event_with_shift ()); * WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=19815 */ webkit_web_view_reload (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed));
That was a bug but not really relevant (already fixed). AFAICT this does not work simply because we are never emitting the adblock signals in the webkit port now. Looking into it now.
I meant that basically we are never checking with adblock about whether or not we should block resources from loading, because I'm not sure there's API for this yet in WebKit/GTK+.
There isn't such API, it seems to me. Do you know any open source webkit-based browsers that do adblocking? I'd like to look into it.
We have added the API, and I just pushed a fix to master, thanks.