> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.wpcompress.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Exclude JavaScript from Delay JS

# How to Exclude From Delay JS
You may want to exclude a file from Delay JS if you're site is facing display issues, UX interactivity problems or console errors that you'd like to resolve.

While more advanced, a great first step is to check the console log and exclude the file(s) that are notated

To find the exclude options, [follow this guide](/en-us/article/how-can-i-exclude-an-image-asset-or-script-1r1vqwu/) or simply click the gear next to DelayJS!


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2022-10-18-at-8545_is2hco.png)

### If you're facing issues when enabling Delay JS
| First turn off the setting and confirm the issue is resolved, be sure to test after each stage below and please be sure to purge any cache!

1) Exclude 'themes' in the delay JS field then check to see if the issue is resolved

```html
themes
```

2) If the theme does not resolve the issue, you may then exclude your builder such as:

```html
elementor
oxygen
gutenberg
```

3) If the builder does not resolve the issue, then you may exclude 'plugins' as well and re-test

```html
plugins
```

If that works, you can then isolate a specific plugin such as a slider, carousel or other aspect that cannot be delayed without breaking functionality.

| Note, this is for a starting point to find what section is causing issues, at any time we'll be happy to help with excludes via chat or ticket support!


