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

php - How to modify a menu to show sub-menus -

shopping cart - Page redirect not working PHP -

python - Installing PyDev in eclipse is failed -