Honesty Rocks! truth rules.

Kill Frame

HOME      >>       Programming

demonlord

Hello,
I'm not really sure it this can be done with javascript or not but what i would like to do is prevent my html pages from beening showed in frames. i know this can be done as i have seen it done before but i dont know how to do it. one site that gives this option is co.nr when you sign up for a short domain with them they give you the option of do you want killframe to be on, and if you select yes the page will not be able to be show in a frame. so if some one knows how to do this could they please tell me.


Thanks


howardh

google is your friend
https://www.google.ca/search?hl=en&q=htG=Google+Search
second link

<script type="text/javascript" language="JavaScript"><!--if (self != top){ if (document.images) top.location.replace(window.location.href); else top.location.href = window.location.href;}// --></script>


varalu

That was cool.There is nothing that cannot be done with help of JavScripts. :lol: