From: Alexander Butenko Date: Sat, 2 Jan 2010 03:11:44 +0000 (+0100) Subject: Hide images blocked with 'Block image' via element hiding X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20059d74b94f4f7357da374290901dac25e9f27d;p=midori Hide images blocked with 'Block image' via element hiding --- diff --git a/extensions/adblock.c b/extensions/adblock.c index 2bcdf562..173e0fd9 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -717,6 +717,7 @@ adblock_custom_block_image_cb (GtkWidget* widget, } uri = g_object_get_data (G_OBJECT (widget), "uri"); g_fprintf (list, "%s\n", uri); + g_fprintf (list, "##img[src=\"%s\"]\n", uri); fclose (list); adblock_parse_file (custom_list); g_free (custom_list);