Welcome to WebmasterWorld Guest from 54.226.133.245

Forum Moderators: open

Message Too Old, No Replies

Analyzing you site's pages to see what third party content loaded

Is there a way to "look" at your page after it loads?

     
9:58 pm on May 21, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 6, 2007
posts:97
votes: 0


I have a page that loads an iframe with content from a third party domain.

If there is content the page loads fine, else a color of my choice will appear. In either situation the iframe's src is the same.

In the event there is no content, is there any way I might be able to use javascript to tell?

I would imagine I'm pretty much out of luck here, since the src is the same, and that it loads content from another website's domain where I don't have any privilege to.

Though, I'm hoping there might be something I might be able to try.

Maybe it would be possible to have a script "look" at the page to detect that color? Might this be possible?

Anything else I might try?

11:12 pm on May 21, 2007 (gmt 0)

New User

5+ Year Member

joined:Aug 28, 2006
posts:19
votes: 0


im not sure, but php would work. stripos or strpos would try to find some specific content on the page.
1:43 am on May 22, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Mar 29, 2007
posts:1147
votes: 0


You are right otem, you can't access any IFRAME's content if it's from another domain.