]> spindle.queued.net Git - midori/commitdiff
Hide images blocked with 'Block image' via element hiding
authorAlexander Butenko <a.butenka@gmail.com>
Sat, 2 Jan 2010 03:11:44 +0000 (04:11 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 2 Jan 2010 03:11:44 +0000 (04:11 +0100)
extensions/adblock.c

index 2bcdf5627b43567cbcf67e736b14ae93b026a673..173e0fd9a59aaea94b02c16f24b40679b3c54743 100644 (file)
@@ -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);