-
does anyone know where i can get a javascript that will break a frame coming from another site
-
Serial Publisher
its really simple but I dont remember off the top of my head.
Basically it says if document.top != document.self then document.self = document.top
you can probably find it at a free script resource.
Chris
-
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code
/font><HR><pre>
<!-- ONE STEP TO INSTALL Framebreak:
1. Copy the coding into the HEAD of your HTML document
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<script language="JavaScript">
<!--
/* script by www.plebius.org */
self.onError = null;
if( top.location != location ) {
top.location.href = location.href;
}
//--->
</script>
[/code]
Here it is.
------------------
Martin Kretzmann
Plebius Press - A progressive perspective ... "Insert favorite quote here"
We have hosted and perl scripts too!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks