Hide images blocked with 'Block image' via element hiding
This commit is contained in:
parent
5452c7c71d
commit
20059d74b9
1 changed files with 1 additions and 0 deletions
|
@ -717,6 +717,7 @@ adblock_custom_block_image_cb (GtkWidget* widget,
|
||||||
}
|
}
|
||||||
uri = g_object_get_data (G_OBJECT (widget), "uri");
|
uri = g_object_get_data (G_OBJECT (widget), "uri");
|
||||||
g_fprintf (list, "%s\n", uri);
|
g_fprintf (list, "%s\n", uri);
|
||||||
|
g_fprintf (list, "##img[src=\"%s\"]\n", uri);
|
||||||
fclose (list);
|
fclose (list);
|
||||||
adblock_parse_file (custom_list);
|
adblock_parse_file (custom_list);
|
||||||
g_free (custom_list);
|
g_free (custom_list);
|
||||||
|
|
Loading…
Reference in a new issue