www.webcodingtech.comCoding Technologies for the Web |
Home | | | Php | | | JavaScript | | | SQL | | | HTML | | | Server Admin | | | Tools | ||
![]() | ||||||||||||||
|
|
Bust out of framesIf some other evil page is linking to you from within a frameset and knowingly or not they leave your page within their frame, you can now break out of that frame with a little bit of JavaScript. Here is the code to do so.
Simply include this code between your <HEAD> and </HEAD> tags at the beginning of your page,
and it should do the trick. (As long as your visitors have JavaScript enabled
in their browsers.)
|
|
http://www.webcodingtech.com