Skip to content

Instantly share code, notes, and snippets.

@timendum
Created July 27, 2011 10:11
Check if a page is in a frame
if (top != self) {
//framed
} else {
// stand-alone
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment