Break out frames with JAVA SCRIPT

This trick is used for break the frame out. And open you web site without frame.
This method allow you to break out the frames.
Simply Copy and paste this js script into your website after tag.


function breakout_of_frame()
{
  // see http://www.thesitewizard.com/archive/framebreak.shtml
  // for an explanation of this script and how to use it on your
  // own website
  if (top.location != location) {
    top.location.href = document.location.href ;
  }
}



 This function "breakout_of_frame" check that the URL of topmost window is as same as the url of current window. If the topmost window differentiate the current window then this script will remove the frame and make your window on top.

Now put this code in tag.
onload="breakout_of_frame()">

Enjoy Freeware Scripting....!!

PageNavi Results No.

Welcome. Here you find latest freeware and legal software as well as latest info about IT Technology.

Recent Posts

recentposts
Powered by Blogger.