From 20059d74b94f4f7357da374290901dac25e9f27d Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Sat, 2 Jan 2010 04:11:44 +0100 Subject: [PATCH] Hide images blocked with 'Block image' via element hiding --- extensions/adblock.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5