« Bot-Allow-Content WordPress plugin
Add-Meta-Tags WordPress Plugin »

Break-Out-Of-Frames WordPress Plugin

January 5th, 2006 by George Notaras

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!

Donations Button

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

The Break-Out-Of-Frames WordPress Plugin by George Notaras, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Terms and conditions beyond the scope of this license may be available at www.g-loaded.eu.

Related Articles

Tags: , ,

Bookmark and Share

2 Responses to “Break-Out-Of-Frames WordPress Plugin”

  1. GNot Says :

    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.

  2. Nicki Says :

    You rock, thank you! :)

Comments are automatically disabled after a certain period of time. Further discussion about the published content is still possible though in the G-Loaded Forums.