Iframes breaking referrer?

Lutherblissett

Power Member
Joined
Feb 10, 2008
Messages
543
Reaction score
217
Say i'm tunneling some iframes (think iframes inside iframes), and i eventually reach a page that uses some sort of Iframe breaking script, thus putting their page in the URL and stopping the tunnel. Does anyone know what referrer the page breaking URL will get? Will it be the iframe that opened it, or the first page that started the tunnel?
 
Last edited:
Say i'm tunneling some iframes (think iframes inside iframes), and i eventually reach a page that uses some sort of Iframe breaking script, thus putting their page in the URL and stopping the tunnel. Does anyone know what referrer the page breaking URL will get? Will it be the iframe that opened it, or the first page that started the tunnel?

It'll get a referral from all URLs.

You have site A iframing site B and site B iframing site C.
Site C has a frame breaker.

1. Site C is being loaded in an iframe from site B.
2. Site C breaks out of the iframe and now has a referral from site B.
3. Site A has iframed site B, so now site C is iframed by site A.
4. Site C is being loaded, thus giving it a referral from site A and breaks out, making it the parent or whatever that's called.
 
HHmmm a lot to chew on. Excellent explanation. . Let me see if i have this correct.

Site C will see two separate requests to their page.(e.g - if it was a sponsor they will see two clicks on their page). One with Referrer Site B and one with referrer site A?

or

They will receive one request with referrer of two URLs (this i have never heard of before).

or Something i haven't thought of.

What happens if i have the parent (you are correct in that term) as site A with 25 children (sites B-Z) all nested?

site A iframing site B and site B iframing site C and site C iframing site D. . . etc.

Let's say Z is a sponsor. WTF will they see? 25 requests for the page with 25 different referrer URLs? One request with 25 referrer URLS? or One request with referrer Site A? or One request with referrer site Y?
 
I did my own research for anyone who cares to know in the future.

If you nest 25 iframes inside each other starting with page A and nesting pages B - Z.
And page Z has an iframe breaker script on it.

The results. . . differ by Browser. . Here is what i found on the major browsers.

On Chrome
The result will be 2 GET requests with 2 different referrers.
1 referrer will be itself 'Page Z'
1 referrer will be the page prior to it 'Page Y'

On Opera
The result will be 1 GET request
referrer will be the page prior to it 'Page Y'

On IE
The result will be 1 GET request
referrer will be the page prior to it 'Page Y'

On FF
referrer will be the page prior to it 'Page Y'

I then tried it on an actual major real world affliate (W@L-M@rt) site that uses a framebreaking script. My results were always the following:

referrer will always be the page prior to it 'Page Y'
 
iFrame can't blank referrer.
Even iFrame in iFrame, and iFrame in iFrame in iFrame.

Beny
 
Back
Top