diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/options.c | 6 | ||||
-rw-r--r-- | desktop/options.h | 2 |
2 files changed, 8 insertions, 0 deletions
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 }, diff --git a/desktop/options.h b/desktop/options.h index cfc585c28..42375f9ef 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -58,6 +58,8 @@ extern int option_disc_cache_age; extern bool option_block_ads; extern int option_minimum_gif_delay; extern bool option_send_referer; +extern bool option_foreground_images; +extern bool option_background_images; extern bool option_animate_images; extern int option_expire_url; extern int option_font_default; /* a css_font_family */ |