asciimoo / morty

Privacy aware web content sanitizer proxy as a service
GNU Affero General Public License v3.0
484 stars 57 forks source link

Support lazy loading of images #2

Open dalf opened 8 years ago

dalf commented 8 years ago

If there is no javascript, is it possible to load image that are normally lazy loaded ? Usually there is a data-*src attribute.

Another case : some images are references as style="background-image: url("image.jpg");"

asciimoo commented 8 years ago

currently data-src is not supported, however style attribute values are parsed in CSS context, so the second example works