i have a website and i'm wondering if it is possible to track with some type of coding to see if someone is placing my website into an iframe and displaying it on their site? i have checked my log in the cpanel and nothing is there but when i go to this other website clearly they are iframing my site. I am aware of JavaScript to make it pop out of the iframe but for my site i cant use this. thanks again.
Asked
Active
Viewed 299 times
2
-
I think this answers your question: http://stackoverflow.com/questions/326069/how-to-identify-if-a-webpage-is-being-loaded-inside-an-iframe-or-directly-into-th – Martin Tournoij Mar 25 '11 at 01:47
2 Answers
0
Yes, that is possible, by add some js code into your page like this:
if(self != top){
//js code to track it
}

LanceHub
- 590
- 1
- 4
- 5
0
You can read the article on Wikipedia about Framekiller. You'll learn how you can detect that your site has been embedded in an iframe but also that there are solutions to counter it: Framekiller Killer

Sylvain Guillopé
- 1,358
- 9
- 21