How to protect your site from frame

| No Comments | No TrackBacks

I found some sites framed my Blog, and keep popping some bad windows.

I do a google, and found this script works to prevent from it.

Just copy the following code in to you pages. Now any site want to frame your page will automatically jump your site out.

<SCRIPT LANGUAGE=JAVASCRIPT><!--
if (top.location != self.location)top.location=self.location;
// --></SCRIPT>


Related Articles

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-1102.cgi/1862

Leave a comment

About this Entry

This page contains a single entry by David Yin published on September 21, 2007 12:12 PM.

How about Masterseek was the previous entry in this blog.

BlogRush - It is a cool stuff to improve your traffic is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en

Online Tools