From 28edcbd6b354e0fd0fb8d293c2cf5f560ba66632 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 23 Sep 2014 22:11:10 +0200 Subject: don't load background images in --local mode noticed-by: eocene --- src/styleengine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/styleengine.cc') diff --git a/src/styleengine.cc b/src/styleengine.cc index f5f0a315..1c90b7b7 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -747,7 +747,8 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props, } if (imgUrl && prefs.load_background_images && - !stack->getRef (i)->displayNone) + !stack->getRef (i)->displayNone && + !(URL_FLAGS(pageUrl) & URL_SpamSafe)) { attrs->backgroundImage = StyleImage::create(); DilloImage *image = -- cgit v1.2.3