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
  • 19,894
  • 28
  • 96
  • 137
user121196
  • 28,674
  • 57
  • 144
  • 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
  • 708
  • 1
  • 8
  • 13