I am loading a bunch of HTML from a server containing img tags. I need to parse this answer (I need only a small part of it) and find a few specific tags.
The problem is that as soon as I drop the answer in jQuery to parse it, the browser loads all the contained images. This is partly optional (I don't need most of them), but the biggest problem is that they are downloaded via HTTP in an SSL environment.
Is there a way to parse an HTML string without loading the contained images?
source
share