Return to Snippet

Revision: 23829
at February 14, 2010 22:12 by ialexs

Initial Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

<html xmlns="" xml:lang="en" lang="en">
<head><title>test. no iframe-ing this page</test> </head>

<body bgcolor="blue">

<script type="text/javascript">
if ( !== window.self) {
        document.write = ""; = window.self.location; 

<h1>this is BLUE<br> <? echo $_SERVER["PHP_SELF"] ?> </H1>


Initial URL

Initial Description
No iframe-ing the page. Found out twitter doing this. Good practice. (You can not iframe any twitter page)

Initial Title
no iframe-ing this page

Initial Tags

Initial Language