django - change content inside an iframe

Posted by fabriciols on Stack Overflow See other posts from Stack Overflow or by fabriciols
Published on 2010-03-09T03:18:42Z Indexed on 2010/03/09 4:21 UTC
Read the original article Hit count: 161

Filed under:

Hello guys,

I have a site running in django and want to make it available on third party sites.

In these sites they make my content available through an tag.

When my site is requested from within that iframe I would like to modify the content (remove header, filter data, etc.).

What would be the best way to do this?

Is there any way of knowing that the request is being made from an iframe?

Multiples sites will request the same url, can I change the content, based on the requesting site?

Thanks!

PS: Sorry for my bad english :/

© Stack Overflow or respective owner

Related posts about django