🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
BlackSwan | Block External Request icon
Maintained Tested up to 6.8.13 #21 in blacklist

BlackSwan | Block External Request

Block unwanted external HTTP requests in WordPress. Blacklist/whitelist management, resource blocking, and one-click pause.

Active installs40+10+ tier
Downloads · 30d181▲ +84.7% vs prev. 30d
Rating5/51 reviews
Health score46/100Fair
All-time downloads2.3KSince Oct 2022
Support resolved—No recent threads
RequiresWP 5.0PHP 5.4+
Downloads · 7d52▲ +40.5% week over week
Our verdict

Use with caution

BlackSwan works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites, is rated 5/5 and was last updated 8 months ago, and scores 46/100 on our health check.

  • Small user base (40+ active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

51015Sep 4Oct 18Dec 2
Yesterday17
Daily average (1y)4
Peak day46Apr 13, 2026
Last 12 months1.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where BlackSwan stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
blacklist >100 543 Best blacklist plugins →
block http requests #64 10,000 Best block http requests plugins →
external requests #10 10,000 Best external requests plugins →
performance >100 10,000 Best performance plugins →
whitelist #97 1,108 Best whitelist plugins →

Version adoption

Share of active sites per release.

  • 2.9100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About BlackSwan | Block External Request

From the official readme · v2.9.3

Description

BlackSwan Block External Request gives you granular control over every outgoing connection your WordPress site makes — both server-side PHP requests and browser-loaded JS/CSS resources.

WordPress, plugins, and themes constantly send background HTTP requests: update checks, license pings, analytics, font downloads, CDN calls, and more. On slow servers or restricted hosting environments, these requests can add seconds to every admin page load.

This plugin lets you block what you don’t need and keep what you do.

What it does

Server-side HTTP Blocking (PHP)
Intercepts outgoing wp_remote_get / wp_remote_post calls via the pre_http_request filter. Add domains to the blacklist and they’ll be blocked before the request is even made. Whitelist specific URL patterns to let essential requests through (e.g. plugin update API).

Browser-side Resource Blocking (JS/CSS by Domain)
Deregisters enqueued JavaScript and CSS files loaded from blacklisted external domains. Toggle separately for admin panel and public frontend. Your own site’s assets are never touched.

Block Specific Resources (by URL)
Block individual JS or CSS files by full URL, partial path, or even just a filename — works for both local and external resources. Per-item backend/frontend toggle. Perfect for removing unwanted plugin assets without editing code.

Features

  • Blacklist & whitelist with inline edit, delete, and delete-all
  • Block external JS/CSS by domain (backend, frontend, or both)
  • Block specific resources by URL pattern (local or external)
  • One-click pause/resume — instantly disable all blocking
  • Safe mode via ?bswan-safe=1 — emergency bypass for any admin page
  • Settings page auto-bypasses resource blocking so you never lock yourself out
  • Export/import all settings as a single JSON file
  • AJAX-powered save — no page reloads
  • Query Monitor integration — detect, activate, or install from settings
  • All settings stored as a single JSON option with autoload=no for performance
  • Fully standalone — zero external dependencies (inline Lucide SVG icons)
  • Modern liquid glass UI with dot-grid background
  • WordPress native postbox layout with collapsible sections
  • Translation-ready with full text domain support

Who is this for?

  • Sites on slow or restricted hosting where external calls cause timeouts
  • Developers debugging performance issues
  • Agencies managing client sites that don’t need update checks
  • Anyone who wants a faster wp-admin experience

Developer Hooks

Four filters are available for developers to customize blocking behavior programmatically. These run on every page load and merge with the values from the settings page.

BlackSwan\block_external_request\block_url_list

Filter the array of blocked domain strings. Each entry is matched via strpos() against the full request URL.

add_filter( 'BlackSwan\block_external_request\block_url_list', function( $domains ) {
    $domains[] = 'analytics.example.com';
    return $domains;
});

BlackSwan\block_external_request\whitelist_urls

Filter the array of whitelisted URL patterns. If a blocked URL also matches a whitelist pattern (via strpos()), the request is allowed through.

add_filter( 'BlackSwan\block_external_request\whitelist_urls', function( $patterns ) {
    $patterns[] = '//api.example.com/v2/license';
    return $patterns;
});

Whitelist patterns take priority over blacklist domains. Both filters accept and return a flat array of strings.

BlackSwan\block_external_request\blocked_resources

Filter the array of specific JS/CSS resources to block. Each entry is an associative array with url, backend, and frontend keys. The url is matched via strpos() against each registered script/style source.

add_filter( 'BlackSwan\block_external_request\blocked_resources', function( $resources ) {
    $resources[] = array( 'url' => 'some-plugin/tracking.js', 'backend' => false, 'frontend' => true );
    return $resources;
});

BlackSwan\block_external_request\cdn_replacements

Filter the array of CDN replacement rules. Each entry is an associative array with pattern, cdn, backend, and frontend keys. When an enqueued asset source contains the pattern, it is replaced with the cdn URL.

add_filter( 'BlackSwan\block_external_request\cdn_replacements', function( $replacements ) {
    $replacements[] = array( 'pattern' => '/wp-includes/js/jquery/jquery.min.js', 'cdn' => 'https://cdn.example.com/jquery/3.7.1/jquery.min.js', 'backend' => false, 'frontend' => true );
    return $replacements;
});

Links

Copyright

BlackSwan Block External Request is free software distributed under the terms of the GNU General Public License v2 or later.

Copyright (c) AmirhpCom — amirhp.com

This plugin is developed and maintained by BlackSwan Lab.

You are free to use, modify, and distribute this plugin under the GPLv2 license. The developers are not responsible for any issues caused by misconfigured blocking rules. Always maintain proper backups before making changes to your site’s HTTP request behavior.

Installation

  1. Upload the blackswan-block-external-request folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Settings → Block External Request to configure

Or install directly from WordPress:

  1. Go to Plugins → Add New
  2. Search for “BlackSwan Block External Request”
  3. Click Install Now, then Activate

The plugin comes pre-configured with a sensible default blacklist and whitelist. You can customize everything from the settings page.

Changelog

Release date: 2026-04-13 | 1405-01-24 Fixed Translation Added fontawesome to exclude list Added cdn.jsdelivr.net to exclude list Added unpkg.com to exclude list Added googletagmanager.com to exclude list Added cdnjs.cloudflare.com to exclude list Added fonts.googleapis.com to exclude list Added fonts.gstaticn.com to exclude list Set some default options ON by default

2.9.3

  • Release date: 2026-04-13 | 1405-01-24
  • Fixed Translation
  • Added fontawesome to exclude list
  • Added cdn.jsdelivr.net to exclude list
  • Added unpkg.com to exclude list
  • Added googletagmanager.com to exclude list
  • Added cdnjs.cloudflare.com to exclude list
  • Added fonts.googleapis.com to exclude list
  • Added fonts.gstaticn.com to exclude list
  • Set some default options ON by default

2.9.0

  • Added “Disable All Emoji” option: removes WordPress emoji detection script, emoji styles, TinyMCE emoji plugin, and DNS prefetch hints for the emoji CDN — eliminating outgoing requests to s.w.org

2.8.0

  • Expanded the default blacklist with 30+ additional domains commonly responsible for license checks, telemetry, and update pings (e.g. freemius.com, themeforest.com, cloudflare.com, wpbakery.com, xtemos.com, premio.io, nextendweb.com, objectcache.pro, rocketcdn.me, ipinfo.io, paypal.com, and several Iranian plugin/theme vendors)

2.7.0

  • Documented all four developer filters with full examples (block_url_list, whitelist_urls, blocked_resources, cdn_replacements)
  • Improved readme files for WordPress.org publishing

2.6.7

  • Added at-a-glance overview panel at the top of the settings page with 5 stat cards (HTTP blocking, browser resources, specific resources, CDN replacements, avatars) for non-technical users
  • All technical configuration metaboxes now hidden behind a “Configure & Advanced Settings” toggle, collapsed by default, state remembered in localStorage
  • Moved “Reset to Defaults” into its own dedicated sidebar metabox with a clear destructive-action warning
  • Fixed confirm dialog line breaks (were showing as literal \n on some browsers)

2.6.6

  • Added “Reset to Defaults” button in Export/Import panel with a destructive-action warning notice and two-step confirmation before wiping settings

Full changelog on WordPress.org →

Screenshots

Collapsed Settings page [EN]
Collapsed Settings page [EN]
Collapsed Settings page [FA]
Collapsed Settings page [FA]
Expanded Settings page [EN]
Expanded Settings page [EN]
Expanded Settings page [FA]
Expanded Settings page [FA]
Initial version with no UI
Initial version with no UI

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best BlackSwan alternatives

All blacklist plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Gravity Forms Email Blacklist Gravity Forms Email Blacklist Add-on for Gravity Forms to create a Blacklisting of specific emails or domains for the… by CrossPeak 10K+ ★★★★★★★★★★ 4.3 (15) 6 months ago 61
2 Block List Updater Block List Updater Automatic updating of the comment block list in WordPress with antispam keys from GitHub. by pluginkollektiv 2K+ ★★★★★★★★★★ 4.3 (4) 5 months ago 54
3 Blacklist Manager – WooCommerce Anti-Fraud, Blacklist & Checkout Verification Blacklist Manager Block risky WooCommerce orders, spam signups, and form submissions with blacklist rules… by YoOhw Studio 2K+ ★★★★★★★★★★ 3.6 (14) 2 weeks ago 81
4 Gravity Forms Block Email Domains Gravity Forms Block Email Domains Easily set a list of email domains to block on email fields in Gravity Forms. by GravityKit 1K+ ★★★★★★★★★★ 4.1 (9) 2 years ago 35
5 BSK Forms Blacklist BSK Forms Blacklist Checks field content and block submitting base on your keywords. Blocking IP, Country is… by bannersky 1K+ ★★★★★★★★★★ 4.3 (12) 1 year ago 45
6 Comment Blacklist Updater Comment Blacklist Updater Update "Comment Blacklist" spam terms to manage spam in forms and comments by apasionados 700+ ★★★★★★★★★★ 4.8 (4) 7 months ago 55
7 CM E-Mail Blacklist – Simple email filtering for safer registration CM E-Mail Blacklist Block unwanted email registrations on your site with this email blacklist plugin. Protect… by CreativeMindsSolutions 700+ ★★★★★★★★★★ 4.5 (8) 2 months ago 71
8 Comment Blacklist Manager Comment Blacklist Manager Remotely add terms to the WordPress Disallowed Comment Keys field to manage spam. by Andrew Norcross 500+ ★★★★★★★★★★ 4.4 (5) 4 weeks ago 80
9 Mihdan: Ajax Edit Comments Mihdan: Ajax Edit Comments Allow users to edit comments for a limited time, while admins can edit all comments. by mihdan 300+ ★★★★★★★★★★ 4.4 (18) 7 years ago 36
10 User Domain Whitelist User Domain Whitelist The User Domain Whitelist/Blacklist plugin limits user registration to only registrants… by Warren Harrison 200+ ★★★★★★★★★★ 4.1 (9) 9 years ago 42

FAQ

BlackSwan | Block External Request: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is BlackSwan free?

Yes. BlackSwan is free to download and use from the official WordPress.org plugin directory.

Is BlackSwan safe to use in 2026?

BlackSwan works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites, is rated 5/5 and was last updated 8 months ago, and scores 46/100 on our health check.

How many websites use BlackSwan?

BlackSwan is active on 40+ WordPress websites and has been downloaded 2,294 times since it launched in October 2022. It was downloaded 181 times in the last 30 days.

Does BlackSwan work with WordPress 7.1?

BlackSwan is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does BlackSwan need?

BlackSwan requires PHP 5.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was BlackSwan last updated?

The latest version, 2.9.3, was released on April 13, 2026 (8 months ago).

Who makes BlackSwan?

BlackSwan is developed and maintained by BlackSwanDev.

What are the best alternatives to BlackSwan?

The most popular alternatives to BlackSwan are Gravity Forms Email Blackli… (10K+ installs), Block List Updater (2K+ installs) and Blacklist Manager (2K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open