views:

253

answers:

3

A page loads another domain in an iframe. If javascript inside the iframe clicks on a link in the iframe which domain will the referrer be?

A: 

It will obviously refer to the new domain.

Ravia
+2  A: 

Referer will be the page on which the link is clicked. In your case, it will be domain that is opened in iframe.

Adeel
A: 

Unless it's IE6 - then it's the original page - strange? Ohh yes

seo20