By installing this plugin you can prevent your website being framed by some other web site. This plugin is very simple but also standards compliant.
I wrote this plugin as other frame breaking solutions often have the following problems
- They print their javascript inline, this break unobtrusive javascript and can be a problem in apps. This plugin adds an external file unobtrusively.
- The try to break out of the wordpress customizer frame (rendering it useless). This plugins tests for that context and will not enqueue in that circumstance.
- They enqueue the script on the backend, where it is not required. This plugins tests for that context and will not enqueue in that circumstance.
- They enqueue it in the head of the html, thus slowing down page render on all pages. This plugin enqueues the file in the footer.
- They break out of all frames (including ones from your own domain). This plugin tests if the plugin is same domain and if it is won't break out.