How can I perform a cross-domain GET, without the browser loading referenced images?

Unless you're inserting this HTML into the DOM, it's just a string and I doubt the browser would start fetching images.

Unless you're inserting this HTML into the DOM, it's just a string and I doubt the browser would start fetching images. Before inserting it into the DOM you could do a search-replace for src="..." and replace it with something line xxx="...".

I used data = data. Replace(/– Eric Aug 5 '11 at 16:13.

Why this is happening is explained here: If the HTML is more complex than a single tag without attributes, the actual creation of the elements is handled by the browser's innerHTML mechanism. In most cases, jQuery creates a new element and sets the innerHTML property of the element to the HTML snippet that was passed in. So when you do $(data) it inserts all that html on your page.

How to avoid it. If something you are searching for doesn't require complex jquery selectors, maybe you can parse html yourself (for example with... regular expressions *gulp*).

Ah, that explains it, thanks. I'll try adding data = data. Replace('Replace('Gonna have to accept Diodeus' answer though, since he suggested doing a substitution before hand.

Thanks for explaining why it was doing it though. – Eric Aug 5 '11 at 16:12.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions