Frame remover script for websites!

Hi malware fighters,

To remove frames 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;
</script>

For browser we can use this one: http://javascript.about.com/library/iframekiller.user.js

enjoy,

polonus

Can you elaborate?
Do you mean this code (and the script) remove infected (and non infected) iframes from sites being loaded?

Personally I see no point in doing this, as for the most part the web site has done this for a purpose so that entry to the site is through a parent page and not a child as this can screw up links, layout, etc.

@ Tech
This has nothing to do with iFrames, infected or otherwise, but about Frames.

A simple frame is a big box containing two or more smaller boxes (frames), the outer frame is the parent and inside are child frames. Typically one of the child frames is a column on the left side with navigation links, etc. and one to the right the mail display frame; this displays the content of whatever link you clicked in the navigation frame.