Overview
Async JavaScript describes itself as: “Async Javascript lets you add 'async' or 'defer' attribute to scripts to exclude to help increase the performance of your WordPress website.”
It is active on 60,000+ WordPress sites and rated 4.7 out of 5 by 102 users on WordPress.org. Developers can extend it through 0 actions and 2 filters, listed below.
How to install Async JavaScript
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Async JavaScript” and pick the one by David Clough.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install async-javascript --activateRequirements: WordPress 4.6+ · tested up to WordPress 6.2.15
Hooks & customisation
Async JavaScript 2.21.08.31 fires 0 actions and 2 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in asyncjsFrontendClass.php
apply_filters( 'asyncjs_filter_noptimize', $aj_noptimize );
// Filter in asyncjsPartnersScreens.php
apply_filters( 'asyncJS_settingsscreen_remotehttp', true );Need Async JavaScript customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with David Clough. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.