JavaScript City

Frame Breaker

This script breaks a page out of another site's frames so your viewers aren't trapped in those frames.

Script Code

Grab a copy of the file below and place it in the same directory as the Web page on which you will use the script (if you wish to place the script file in a different directory you will need to make the necessary adjustments to the src attribute of the script tag that calls it).

swin002.js

The code below should be placed anywhere on the page (preferably near the top or in the head section).

Example

Try opening this page from within a frame. It should pop back out on its own.

Options

N/A

Accessibility

For those without JavaScript, there may be a way to duplicate the script via Java, ActiveX, or other plugins.


eXTReMe Tracker