WP Manifestindependent plugin directory
manifest / security / frontiers-simple-iframe-buster

Frontiers Simple Iframe Buster

Enqueues a sitewide javascript to inhibit iframes and sends security headers. Fully compatible with PHP 8.5

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/frontiers-wp/frontiers-simple-iframe-buster/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight, efficient WordPress plugin designed to prevent unauthorized third-party websites from framing your content. By implementing a reliable client-side Frame Buster (Framebreaker) mechanism alongside native security headers, this utility effectively mitigates Clickjacking and UI redress attacks.

🚀 Features

  • Lightweight Footprint: Zero impact on site performance or initial page load metrics.
  • Instant Prevention: Immediately forces the browser window to navigate to the top-level frame if an unauthorized embed attempt is detected.
  • WordPress Native: Designed specifically to integrate seamlessly with standard WordPress architectures without conflicting with core hooks.
  • Autoptimize Automation: Automatically injects script and style exclusions directly into Autoptimize configuration filters.
  • Defense in Depth: Serves as a critical client-side fallback layer alongside server-side X-Frame-Options directives.

🛠️ Installation

Via WordPress Dashboard

This repository is pre-structured for clean installation. Even though GitHub appends a branch suffix to the initial download file, the internal plugin files are perfectly aligned:

  1. Click the green Code button at the top of this repository and select Download ZIP.
  2. Navigate to your WordPress Admin Dashboard > Plugins > Add New.
  3. Click Upload Plugin, choose the downloaded ZIP file, and click Install Now.
  4. Click Activate.

Via Manual Server Extraction (FTP / SSH)

If you are deploying directly via a server terminal pipeline, copy the nested plugin folder into your target directory:

# Clone the repository
git clone https://github.com

# Move only the structured plugin directory to your WordPress installation
cp -r frontiers-simple-iframe-buster/frontiers-simple-iframe-buster /var/www/html/wp-content/plugins/

📖 How it Works

The plugin enqueues a non-obtrusive, rendering-optimal JavaScript snippet across your site header. If the page is trapped inside an external `