-
Killing Frames
I was wondering if there is a way to kill frames that are on a webpage already, before my page is opened.
Example, when you use Jeeves (ask.com) and you goto a site you have the ask.com frame at the top. I know there is a link to remove frames but I wanted to do it in code?
Any ideas? Feel free to use anything from HTML to ASP/JSP anything.
THANKS!
NOMAD
-
This should work for both IE and Netscape:
Code:
<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>
-
AWSOME
Works great!
Thank you!
NOMAD