From 081217a321fd6cee427ac4d3f012b2a5d959cf13 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 23 Dec 2011 19:48:09 +0000 Subject: Add core options to disable fetch of foreground & background images. Remove broken background image option from RISC OS front end. svn path=/trunk/netsurf/; revision=13332 --- desktop/options.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop/options.c') diff --git a/desktop/options.c b/desktop/options.c index 131ac8917..0fbf40b32 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -97,6 +97,10 @@ bool option_block_ads = false; int option_minimum_gif_delay = 10; /** Whether to send the referer HTTP header */ bool option_send_referer = true; +/** Whether to fetch foreground images */ +bool option_foreground_images = true; +/** Whether to fetch background images */ +bool option_background_images = true; /** Whether to animate images */ bool option_animate_images = true; /** How many days to retain URL data for */ @@ -262,6 +266,8 @@ struct option_entry_s option_table[] = { { "block_advertisements", OPTION_BOOL, &option_block_ads }, { "minimum_gif_delay", OPTION_INTEGER, &option_minimum_gif_delay }, { "send_referer", OPTION_BOOL, &option_send_referer }, + { "foreground_images", OPTION_BOOL, &option_foreground_images }, + { "background_images", OPTION_BOOL, &option_background_images }, { "animate_images", OPTION_BOOL, &option_animate_images }, { "expire_url", OPTION_INTEGER, &option_expire_url }, { "font_default", OPTION_INTEGER, &option_font_default }, -- cgit v1.2.3