Title: Flying Scripts: Delay JavaScript to Improve Site Speed &amp; Performance
Author: Gijo Varghese
Published: <strong>فروری 6, 2020</strong>
Last modified: مئی 20, 2026

---

پلگ ان ڳولو

![](https://ps.w.org/flying-scripts/assets/banner-772x250.png?rev=2240429)

![](https://ps.w.org/flying-scripts/assets/icon-256x256.png?rev=2240444)

# Flying Scripts: Delay JavaScript to Improve Site Speed & Performance

 [Gijo Varghese](https://profiles.wordpress.org/gijo/) کنوں

[ڈاؤن لوڈ](https://downloads.wordpress.org/plugin/flying-scripts.1.2.4.zip)

 * [تفصیلاں](https://skr.wordpress.org/plugins/flying-scripts/#description)
 * [ریویو](https://skr.wordpress.org/plugins/flying-scripts/#reviews)
 *  [انسٹال کرݨ](https://skr.wordpress.org/plugins/flying-scripts/#installation)
 * [ڈیویلپمنٹ ](https://skr.wordpress.org/plugins/flying-scripts/#developers)

 [معاونت](https://wordpress.org/support/plugin/flying-scripts/)

## تفصیل

Download and execute JavaScript on user interaction.

[Demo video](https://youtu.be/YJ8TQ3bh-TA)

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](https://wordpress.org/support/plugin/flying-scripts/)
 * [Facebook Group](https://www.facebook.com/groups/wpspeedmatters)

### Our premium products

 * [FlyingPress](https://flyingpress.com)
 * [FlyingCDN](https://flyingcdn.com)

### Our free plugins

 * [Flying Pages](https://wordpress.org/plugins/flying-pages/)
 * [Flying Images](https://wordpress.org/plugins/nazy-load/)
 * [Flying Scripts](https://wordpress.org/plugins/flying-scripts/)
 * [Flying Analytics](https://wordpress.org/plugins/flying-analytics/)
 * [Flying Fonts](https://wordpress.org/plugins/flying-fonts/)

#### Contributors

 * [Gijo Varghese – WP Speed Matters](https://wpspeedmatters.com/)
 * [Shay Toder](https://www.shaytoder.com/)

## انسٹال کرݨ

 1. Visit ‘Plugins > Add New’
 2. Search for ‘Flying Scripts’
 3. Activate Flying Scripts for WordPress from your Plugins page.
 4. Visit Settings -> Flying Scripts to configure

## ہرہک دے سوال

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

## ریویو

![](https://secure.gravatar.com/avatar/c668cfd7546bdf441dfb1c1a446752fb2e85b63138bf1156bbdb8d46bd2c3223?
s=60&d=retro&r=g)

### 󠀁[This plugin improves metrics](https://wordpress.org/support/topic/this-plugin-improves-metrics/)󠁿

 [jhonhorac](https://profiles.wordpress.org/jhonhorac/) جون 14, 2026 1 reply

. With just a few options, it performs its function perfectly.

![](https://secure.gravatar.com/avatar/a7276235fb250f091f56688568365e47d4536c5acc9b22873be5d89ded125a3e?
s=60&d=retro&r=g)

### 󠀁[Super straight-forward and effective.](https://wordpress.org/support/topic/super-straight-forward-and-effective/)󠁿

 [iz4atkal](https://profiles.wordpress.org/iz4atkal/) فروری 13, 2024

Highly recommended!

![](https://secure.gravatar.com/avatar/30324c0ec1c4654ed244fe986d5a2fe3fb34b57b51a52fdfe6f118258d27a5ab?
s=60&d=retro&r=g)

### 󠀁[Sehr gutes Plugin](https://wordpress.org/support/topic/sehr-gutes-plugin-102/)󠁿

 [twinsdz](https://profiles.wordpress.org/twinsdz/) اکتوبر 12, 2023

It works very well. Thanks a lot.

![](https://secure.gravatar.com/avatar/39a336ddb501c6f443657c5a740dad7b612d3fce1455411b81acca3ddab0c5f9?
s=60&d=retro&r=g)

### 󠀁[Good and Efficient](https://wordpress.org/support/topic/good-and-efficient-2/)󠁿

 [steve-8bm](https://profiles.wordpress.org/steve-8bm/) جنوری 31, 2023

Good and efficient plugin. 5 stars

![](https://secure.gravatar.com/avatar/f86070219511c5b402c783c8cfffd2707785224325ce59fa2229e300eedcb405?
s=60&d=retro&r=g)

### 󠀁[Instant results](https://wordpress.org/support/topic/instant-results-7/)󠁿

 [Tom Bush](https://profiles.wordpress.org/tom_nature/) جنوری 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).

![](https://secure.gravatar.com/avatar/d833cca3f0b7e6ae86625897ed4705c7bc76c9fde48cd2b549a0dc422f26aad6?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-35360/)󠁿

 [Tony Hisir](https://profiles.wordpress.org/copperrefections/) اکتوبر 26, 2022

It saved me a lot of time. Thank you for creating a wonderful plugin.

 [ سارے 37 ریویو پڑھو ](https://wordpress.org/support/plugin/flying-scripts/reviews/)

## Contributors & Developers

“Flying Scripts: Delay JavaScript to Improve Site Speed & Performance” is open source
software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

 *   [ Gijo Varghese ](https://profiles.wordpress.org/gijo/)

[ “Flying Scripts: Delay JavaScript to Improve Site Speed & Performance&#8221 دا آپݨی زبان وچ ترجمہ کرو۔](https://translate.wordpress.org/projects/wp-plugins/flying-scripts)

### ڈیویلپمنٹ وچ دلچسپی ہے؟

[Browse the code](https://plugins.trac.wordpress.org/browser/flying-scripts/), check
out the [SVN repository](https://plugins.svn.wordpress.org/flying-scripts/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/flying-scripts/)
by [RSS](https://plugins.trac.wordpress.org/log/flying-scripts/?limit=100&mode=stop_on_copy&format=rss).

## تبدیلی لاگ

#### 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 of `type='lazy'`. Removed setting `type
   ='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

## میٹا

 *  Version **1.2.4**
 *  Last updated **3 مہینے پہلے**
 *  Active installations **30,000+**
 *  WordPress version ** 4.5 یا ودھ **
 *  Tested up to **7.0.4**
 *  PHP version ** 5.6 یا ودھ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/flying-scripts/)
 * Tag
 * [defer javascript](https://skr.wordpress.org/plugins/tags/defer-javascript/)
 *  [اعلیٰ منظر](https://skr.wordpress.org/plugins/flying-scripts/advanced/)

## ریٹنگ

 5 out of 5 stars.

 *  [  37 5-star reviews     ](https://wordpress.org/support/plugin/flying-scripts/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/flying-scripts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/flying-scripts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/flying-scripts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/flying-scripts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flying-scripts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/flying-scripts/reviews/)

## حصہ پاوݨ آلے

 *   [ Gijo Varghese ](https://profiles.wordpress.org/gijo/)

## معاونت

پچھلے ݙو مہینیاں وچ حل تھئے ہوئے رولے:

     1 دے وچوں 0

 [معاونت فورم ݙیکھو](https://wordpress.org/support/plugin/flying-scripts/)

## عطیہ کرو

Would you like to support the advancement of this plugin?

 [ ایں پلگ ان کوں عطیہ ݙیوو ](https://www.buymeacoffee.com/gijovarghese)