javascript - Referer in iframe -


note: iframe , parent url not controlled me

ex: parent url website

  1. load yahoo.com in iframe.

  2. set iframe google.com

  3. google.com has received website referer.

  4. but when click google.com link inside yahoo.com, google.com receives yahoo.com referer.

what have tried:

after loading yahoo.com in iframe, have executed javascript parent.

document.getelementbyid('iframeid').src="http://google.com/"; 

parent url mysite.com sent referer.

but need yahoo.com referer.

this question seems noob thing. once undertand concept said, tricky.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -