Optimize _shouldDisplayImagesForDomain.
Merge pull request #3 from Cykey/master

Optimize _shouldDisplayImagesForDomain.