I use GM_xmlhttpRequest in a GM script to get the source code of a page 
(response.responseText). GM script is used on web site A, and 
GM_xmlhttpRequest url is on web site B. Site B source code contains images 
like src="/images/logo.png". For each image like this my web broswer 
(firefox or chrome) send a GET request to http://*server_A*/images/logo.png 
instead of http://*serveur_B*/images/logo.png. I think it's because the 
path (in src) is relative and not absolute.

My script works fine. But I don't need this image, and I dont want this GET 
on server A.

Maybe it's the web broswer trying to cache image (in order to be faster 
...) Is there an option I can use in web broswer, or maybe in 
GM_xmlhttpRequest (http header ? location ? ) to disable this ?

Stackoverflow :  
http://stackoverflow.com/questions/17699172/gm-xmlhttprequest-or-maybe-browser-generated-get-img-on-the-wrong-server

-- 
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