Home / Free JavaScripts / Windows, remotes, frames / Here

Cut & Paste Break-out-of-frames script

Credit: JavaScript Kit

Description: This practical script detects if your page is trapped inside someone else's frames, and automatically breaks out of it! We use it on the frontpage of JavaScript Kit to avoid entrapment by another site.


Directions: Simply insert the below in the <head> section of your page:

JavaScript Tools:
Site Info

CopyRight 1998-2014 JavaScript Kit. NO PART may be reproduced without author's permission.