diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-09-23 22:11:10 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-09-23 22:11:10 +0200 |
commit | 28edcbd6b354e0fd0fb8d293c2cf5f560ba66632 (patch) | |
tree | 9f8bddc90c262775fd2275d4cd48f60ac2bc73a4 | |
parent | 82ebcc43e13c95b13b129b76ea4391f92dcc1dff (diff) |
don't load background images in --local mode
noticed-by: eocene
-rw-r--r-- | src/styleengine.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 = |