Discover, trust, install: FAIR 1.0 is here

Flying Scripts: Delay JavaScript to Improve Site Speed & Performance
Version: 1.2.4
Description
Download and execute JavaScript on user interaction.
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
Our premium products
Our free plugins
Contributors
Installation
- Visit ‘Plugins > Add New’
- Search for ‘Flying Scripts’
- Activate Flying Scripts for WordPress from your Plugins page.
- Visit Settings -> Flying Scripts to configure
Faq
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.
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.
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.
Events from the user like mouse hover, scroll, keyboard input, touch in mobile device, etc.
Even if there is no user interaction, scripts will be executed after the specified timeout.
Reviews
Super straight-forward and effective.
By iz4atkal on February 13, 2024
Highly recommended!
Sehr gutes Plugin
By twinsdz on October 12, 2023
It works very well. Thanks a lot.
Good and Efficient
By steve-8bm on January 31, 2023
Good and efficient plugin. 5 stars
Instant results
By Tom Bush (tom_nature) on January 7, 2023
Sooo easy to set up and a great way to deal with heavy JS from advertising etc. Really simple but brilliant approach to defer until user input.
Pagespeed Insights overall score went from 58/70 to 99/100 for mobile & desktop respectively without any other changes (appreciate these values fluctuate anyway but that's a significant jump even +/- a few points on the final values).
Great Plugin
By Tony Hisir (copperrefections) on October 26, 2022
Awesome plugin solving third party performance issues
By Jundell Agbo (jundellagbo) on July 27, 2022
Good Plugin
By Nabil Sikder (mdnabilsikder) on July 27, 2022
the mother of all optimization plugins 🙂
By Webprom Design (webprom) on July 7, 2022
Fantastic plugin
By junx0r on June 3, 2022
Simple and Work Perfectly
By Adam Muiz (adammuiz) on May 31, 2022
Changelog
1.2.4
- Updated list of event listeners to trigger user interaction
1.2.3
- Increased DOM size limit
- Updated “Optimize more” tab
1.2.2
- Fix – Added mouse wheel event for user interaction
1.2.1
- Fix – FacetWP compatibility
1.2.0
- New – Exclude on pages
- New – Set timeout to Never
1.1.9
- Security updates
1.1.8
- [BUGFIX] Disable for admin interface when using W3 Total Cache
1.1.7
- [BUGFIX] Support for W3 Total Cache
1.1.6
- [REMOVED] Unnecessary “scroll” event
1.1.5
- [UPDATE] Set
data-type='lazy'
instead oftype='lazy'
. Removed settingtype='text/javascript'
via JavaScript
1.1.4
- [BUGFIX] Remove event listeners after scripts are loaded
1.1.3
- [UPDATE] Copy updates
1.1.2
- [UPDATE] Minified JavaScript
- [UPDATE] Updated copy, FAQ
1.1.1
- [BUGFIX] Exclude json and other script tags
1.1.0
- [NEW] Load scripts on user interaction
- [REMOVED] Load scripts after delay
1.0.0
- Initial release