Wednesday, May 27, 2009

Frame remover script has been installed

Personally, I don't want someone having a frame over my content, such as how the new Diggbar works. Therefore, I have decided to install a frame remover script on this blog. When anyone gets this webpage in a frame, the webpage will reload and remove the frame.

To install this on your own website, place the following code in your html tag on each page you want frames removed (or in a template file, whatever works for your hosting platform):

<script type="text/javascript">
if (top !== self) top.location.href = self.location.href;


Post a Comment