=== Async JavaScript === Contributors: (cloughit), optimizingmatters, futtta, wormeyman Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/ Tags: async, javascript, pagespeed, performance, render blocking Requires at least: 4.6 Tested up to: 6.2 Stable tag: 2.21.08.31 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Async Javascript lets you add 'async' or 'defer' attribute to scripts to exclude to help increase the performance of your WordPress website. == Description == Eliminate Render-blocking Javascript in above-the-fold content with Async Javascript. Render-blocking Javascript prevents above-the-fold content on your page from being rendered until the javascript has finished loading. This can impact on your page speed and ultimately your ranking within search engines. It can also impact your user's experience. Async JavaScript gives you full control of which scripts to add an 'async' or 'defer' attribute to or to exclude to help increase the performance of your WordPress website. == Installation == Installation is very straightforward: 1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to `Settings` > `Async JavaScript` menu to load settings page == Frequently Asked Questions == = Which browsers support the 'async' and 'defer' attributes = The 'async' attribute is new in HTML5. It is supported by the following browsers: * Chrome * IE 10 and higher * Firefox 3.6 and higher * Safari * Opera = Where can I get help? = Async JavaScript is supported via [the wordpress.org support forum](https://wordpress.org/support/plugin/async-javascript). = Do you offer professional support/ configuration services? = We offer premium services for Async JavaScript and full web performance optimization services at [https://autoptimize.com/](https://autoptimize.com/?utm=asyncjs) = What about CSS? = As the name implies, Async JavaScript is built to enhance JavaScript loading only. Async JavaScript does not have any impact on CSS. We recommend using the awesome Autoptimize plugin alongside Async JavaScript for CSS optimization. = I want out, how should I remove Async JavaScript? = * Disable the plugin * Delete the plugin == Changelog == = 2.21.08.31 = * workaround for issues with some inline JS getting asynced (hat tip to WP Bullet's Mike) = 2.21.06.29 = * fix for an authenticated stored XSS vulnerability, credits to m0ze for discovering * confirmed working with WordPress 5.8 (beta) = 2.20.12.09 = * fix for some ternary operators warning in PHP 7.4 and up. * hard-exclude document.write (WordPress core injects inline JS that has `