js - How to prevent embedding my web page inside an iframe? - Stack Overflow

1 minute read

Out Of Date Warning

This article was published on 28/10/2011, this means the content may be out of date or no longer relevant.
You should verify that the technical information in this article is still up to date before relying upon it for your own purposes.

if (window.top !== window.self) {

Reposted from notes.it-jobs-und-stellen.de