6

I have an image

<image src="blah.com/image.gif"/>
. when the image loads, is there a way to change the http referer to X so that the src host sees the http referer of the image request coming from X?
Chathuranga Chandrasekara
  • 20,548
  • 30
  • 97
  • 138
user121196
  • 30,032
  • 57
  • 148
  • 198

1 Answers1

5

It's not possible to change the referrer of an image request load but is possible to remove the referrer.

There is a cross browser solution in Javascript, it uses Iframes created dynamically, check a proof of concept ( disclaimer: It uses a little JS lib I coded for that purpose).

jpgerek
  • 796
  • 1
  • 8
  • 13