Flying Scripts: Delay JavaScript to Improve Site Speed & Performance
Delay JavaScript to improve speed and performance by loading scripts only when needed, reducing render-blocking for a faster and smoother user experie …
- Active installs
- 30,000+
- #952 of 1,000
- Downloads, all time
- 320.9K
- 320,856
- Downloads, 30 days
- 27.4K
- 4K in the last 7
- Rating
- 5.0 / 5
- 38 reviews
- Last updated
- 21 days ago
- Oct 10, 2026
- Version
- 1.2.5
- 18 releases
Upkeep and compatibility
| Last updated | October 10, 2026Updated in the last 3 months |
|---|---|
| Tested up to | WordPress 7.0.8Older than WordPress 7.1.4, the current release |
| Needs WordPress | 4.5 or newer |
| Needs PHP | 5.6 or newer |
| First published | February 6, 2020 |
| Support, last two months | 0 of 1 threads resolved (0%) |
Reviews
5.0 / 5 from 38 reviews
| 5 stars | 37 |
|---|---|
| 4 stars | 1 |
| 3 stars | 0 |
| 2 stars | 0 |
| 1 star | 0 |
Downloads, last 30 days
What the author says it does
Download and execute JavaScript on user interaction.
Demo video
Flying Scripts delay the execution of JavaScript until there is no user activity. You can specify keywords to include JavaScripts to be delayed. There is also a timeout which executes JavaScript when there is no user activity.
Why should I use this plugin?
JavaScript is very resource-heavy. By delaying the execution of non-critical JavaScript (that are not needed for the initial render), you’re prioritizing and giving more resources to critical JavaScript files. This way you will reduce render time, time to interactive, first CPU idle, max Potential input delay etc. This will also reduce initial payload to browsers by reducing the no. of requests.
Support
- Official Support Forum
- Facebook Group
Our premium products
- FlyingPress
- FlyingCDN
Our free plugins
- Flying Pages
- Flying Images
- Flying Scripts
- Flying Analytics
- Flying Fonts
Contributors
- Gijo Varghese – WP Speed Matters
- Shay Toder
The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.
Questions the author answers
What are the ideal scripts to be included?
Any script that is not crucial for rendering the first view or above fold contents. 3rd party scripts like tracking scripts, chat plugins, etc are ideal.
What should I put in include keywords
Any keyword inside your inline script that uniquely identifies that script. For example “fbevents.js” for Facebook Pixel, “gtag” for Google Tag Manager, “customerchat.js” for Facebook Customer Chat plugin.
How is it different from `defer`
defer tells browser to download the script when found and execute it when HTML parsing is complete. When you include a script in Flying Scripts, those scripts won’t be executed until there is a user interaction.
What is user interaction?
Events from the user like mouse hover, scroll, keyboard input, touch in mobile device, etc.
What is timeout?
Even if there is no user interaction, scripts will be executed after the specified timeout.
Latest changelog entry
- Security – Prevent stored cross-site scripting via forged HTML parser placeholders
Tagged
Where this page's numbers come from
Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.