🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
BlackSwan | Block External Request icon
Maintenu Testé jusqu'à 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.

Installations actives40+10+ niveaux
Téléchargements · 30D179▲ +73.8% vs prev. 30d
Évaluation5/51 avis
Score de santé46/100Juste
Téléchargements de tous les temps2.3KSince Oct 2022
Support résolu—Aucun fil de discussion récent
A besoin deWP 5.0PHP 5.4+
Téléchargements · 7j53▲ +47.2% week over week
Notre verdict

Utiliser avec prudence

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.

  • Petite base d'utilisateurs (40+ installations actives)
  • Très peu de critiques jusqu'à présent
  • Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

51015Sep 5Oct 19Dec 3
Hier4
Moyenne quotidienne (1 ans)4
Jour de pointe4613 avril 2026
12 Derniers mois1.4K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where BlackSwan stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
blacklist >100 543 Best blacklist plugins →
block http requests #59 10,000 Best block http requests plugins →
external requests #10 10,000 Best external requests plugins →
performance >100 10,000 Les meilleurs plugins de performances →
whitelist #97 1,108 Best whitelist plugins →

Adoption de version

Part de sites actifs par version.

  • 2.9100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 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.

Ce qu'il fait

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.

Traits

  • 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

Crochets de développeur

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

Droits d'auteurs

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. Téléchargez le dossier blackswan-block-external-request dans /wp-content/plugins/
  2. Activez le plugin via le menu plugins dans 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. Cliquez sur Installer maintenant, puis activer

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

Journal de modifications

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

Journal des modifications complet sur WordPress.org →

Captures d'écran

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

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best BlackSwan alternatives

All blacklist plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Liste noire des formulaires de messagerie électronique Liste noire des formulaires de messagerie électronique Add-on pour Gravity Forms pour créer une liste noire d'e-mails ou de domaines spécifiques pour… par crosspeak 10K+ ★★★★★★★★★★ 4.3 (15) Il y a 6 mois 61
2 Mise à jour de la liste de blocs Mise à jour de la liste de blocs Mise à jour automatique de la liste des blocs de commentaires dans WordPress avec les clés antispam de GitHub. par PluginKollektiv 2K+ ★★★★★★★★★★ 4.3 (4) il y a 5 mois 54
3 Gestionnaire de listes noires – WooCommerce Anti-fraude, liste noire et vérification de la caisse Gestionnaire de liste noire Bloquez les commandes WooCommerce Risque, les inscriptions de spam et les soumissions de formulaires avec des règles de liste noire... par Yoohw Studio 2K+ ★★★★★★★★★★ 3.6 (14) il y a 10 heures 81
4 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) Il y a 1 an 45
5 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. par GravityKit 1K+ ★★★★★★★★★★ 4.1 (9) Il y a 2 ans 35
6 Comment Blacklist Updater Comment Blacklist Updater Update "Comment Blacklist" spam terms to manage spam in forms and comments par apasionados 700+ ★★★★★★★★★★ 4.8 (4) il y a 7 mois 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… par CreativeMindsSolutions 700+ ★★★★★★★★★★ 4.5 (8) Il y a 2 mois 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) il y a 1 mois 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. Par Mihdan 300+ ★★★★★★★★★★ 4.4 (18) Il y a 7 ans 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) il y a 9 ans 42

FAQ

BlackSwan | Block External Request: quick answers

Réponses directes, extraites des données en direct WordPress.org.

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,305 times since it launched in October 2022. It was downloaded 179 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).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir