From: Alexander Butenko Date: Sun, 8 Jan 2012 00:55:19 +0000 (-0400) Subject: Process all the frames X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=696b377b32263f6e0e7f04f5f9d9221e5cfceef2;p=midori Process all the frames --- diff --git a/extensions/adblock.c b/extensions/adblock.c index ed788e89..4bfd0d81 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -81,7 +81,6 @@ adblock_build_js (const gchar* uri) while (cnt >= 0) { g_string_prepend (subdomain, subdomains[cnt]); - /* g_debug ("processing %s", subdomain->str); */ if ((style = g_hash_table_lookup (blockcssprivate, subdomain->str))) { g_string_append (code, style); @@ -798,11 +797,6 @@ adblock_resource_request_starting_cb (WebKitWebView* web_view, if (midori_uri_is_blank (page_uri)) return; - /* Never filter the main page itself */ - if (web_frame == webkit_web_view_get_main_frame (web_view) - && webkit_web_frame_get_load_status (web_frame) == WEBKIT_LOAD_PROVISIONAL) - return; - req_uri = webkit_network_request_get_uri (request); if (!midori_uri_is_http (req_uri) || g_str_has_suffix (req_uri, "favicon.ico"))