Break-Out-Of-Frames WordPress Plugin
This must be the smallest and simplest plugin (if one can name it that way) ever made for WordPress. What it does is the addition of a small piece of javascript code to the head of each web page, so that it can break out of foreign frames. Anyway, I just consider it as an example plugin for educational purposes.
This javascript code is not compatible with the live preview feature of the WordPress editor area. Some checks should be done, so that this code is not executed when editing posts or previewing drafts. The usage of the is_preview() template function would be more appropriate, but, due to some issues, the checks are being made against the server variables. When these issues are resolved, the previously mentioned function will be used.
Installation
Just copy the break-out-of-frames.php file in your /wp-content/plugins/ directory and activate through the administration panel.
License
This project is released under the terms of the GNU General Public License.
Downloads, Issue Tracking, Support
For the latest releases of Break-Out-Of-Frames please visit the downloads section of the Break-Out-Of-Frames Development Portal.
The development website also hosts an issue tracking facility, where you can submit your feature requests or report bugs, and discussion boards, where you can get first class support from the community of users.
Donate
This plugin is released as free software. Nevertheless, its development requires time and effort. A small donation, as a sign of appreciation of the effort, is welcome. Please, use the following button to visit the Donations page. Thanks in advance for your support!
Changelog
* Fri Jan 26 2007 – v0.3
- The is_preview() WP function works ok now, so it is used in the plugin.
- Updated plugin homepage URL.
* Wed Oct 04 2006 – v0.2
- Plugin information update
* Thu Jan 5 2006 – v0.1
- Initial release


January 29th, 2007 at 12:15 am
Version 0.3 is out. WordPress 2.1 users please upgrade.
Thanks to Nicki for reporting a bug when the plugin was used in WP 2.1. When editing a static page, the “break-out-of-frames” code caused the page to escape from the preview in the WordPress editor.
This is now fixed.
January 29th, 2007 at 3:51 am
You rock, thank you! :)