Is it possible to get the referrer of an iFrame's parent page with JavaScript in iFrame?

This should be: parent.document. Referrer Anything in the window that creates the iframe should be accessible through the parent scope.

– Norbert Tamas May 8 '10 at 2:44 @Norbert: I would assume parent. Parent to refer to a "grandparent' and so on. I haven't tested.

I am wondering now what you're actually doing that brought this up. Edit: Just tested and confirmed, this does work as expected. – Anthony May 8 '10 at 2:47 2 The easiest way to get the parent (if there are iFrames) referrer in javaScript is: top.document.

Referrer This works if the iFrame has the same domain as the parent page and works with multiple iFrames. There is no way to get the parent referrer because of cross browser security if the iFrame and the parent has different domains. – Norbert Tamas May 8 '100 at 16:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions