Yes, passing this code to jQuery is absolutely causing this.  It's doing
something like putting that HTML into an iframe to parse it, with the side
effect of loading all the images.

e.g.
http://stackoverflow.com/questions/15113910/jquery-parse-html-without-loading-images
http://stackoverflow.com/questions/6557212/how-to-stop-jqueryhtml-download-inner-images-and-resources



On Thu, Jul 18, 2013 at 11:08 AM, Gates Gates <[email protected]> wrote:

> I just use jquery to get some text (in code source B) and use it in the
> script for site A.
>
> Indeed, I just tried, and the GET request only appear when I use jquery
> on response.responseText.
>
> GM_xmlhttpRequest({
>>     method: "GET",
>>     url: http://toto.com,
>>     onload: function(response) {
>>                  var codeHTML = response.responseText;
>>
>>>
>>
>>                  var toto = $(codeHTML).find("table#my_table tr
>>> td").text();   // if commented => No Get :/
>>
>>  }
>>
>>
> Le jeudi 18 juillet 2013 16:30:09 UTC+2, Anthony Lieuallen a écrit :
>
>> On Thu, Jul 18, 2013 at 8:15 AM, Gates Gates <[email protected]> wrote:
>>
>>> Site B source code contains images like src="/images/logo.png".
>>
>>
>> And you're inserting this HTML from site B into the page of site A
>> somehow?  Probably with .innerHTML ?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "greasemonkey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/greasemonkey-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to