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!

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

Break-Out-Of-Frames WordPress Plugin by George Notaras, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2006 - Some Rights Reserved

About George Notaras

George Notaras is the editor of G-Loaded Journal, a technical blog about Free and Open-Source Software. George is a GNU/Linux enthusiast, a self-taught programmer and system administrator. He strongly believes that "knowledge is power" and has created this web site to share the IT knowledge and experience he has gained over the years with other people. George primarily uses CentOS and Fedora and spends some of his spare time developing open-source software. Follow George on Twitter: @gnotaras

13 responses on “Break-Out-Of-Frames WordPress Plugin

  1. George Notaras Post authorPermalink →

    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. Prashe Permalink →

    Very Helpful, this helped me a lot from ad sites such as bux sites

  3. video nail Permalink →

    I am soooo thankful for this plugin!!! this was my main problem and you solved it thanks g-loaded!!!!

  4. MARK Permalink →

    i’m sure you’ve noticed that google has changed the way they present images now and this code no longer works. really really sucks!!! i hope someone finds a work-around!

    1. George Notaras Post authorPermalink →

      Didn’t have the time to work on this plugin. I’ll check how can getting framed by Google Images be avoided.

      Thanks for your feedback.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>