Welcome to WebmasterWorld Guest from 54.144.243.34

Forum Moderators: open

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)

5+ Year Member



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)

5+ Year Member



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)

WebmasterWorld Senior Member 5+ Year Member



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

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month