Title: Excluded JavaScript files Not working for code below.
Last modified: May 9, 2024

---

# Excluded JavaScript files Not working for code below.

 *  Resolved [amaurya575](https://wordpress.org/support/users/amaurya575/)
 * (@amaurya575)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/excluded-javascript-files-not-working-for-code-below/)
 *     ```wp-block-code
       <script type="text/javascript">
           $(document).ready(function() {
               $('.home').click();
           });
       </script>
       ```
   
 * How can I exclude it from delayed execution in the following setting? I have 
   tried but not working.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Mane Grigoryan](https://wordpress.org/support/users/manegr/)
 * (@manegr)
 * [2 years ago](https://wordpress.org/support/topic/excluded-javascript-files-not-working-for-code-below/#post-17748698)
 * Hi [@amaurya575](https://wordpress.org/support/users/amaurya575/) , 
   Thank you
   for contacting us.
 * Please, kindly exclude the file where the script is written.[ Here is a guide](https://help.10web.io/hc/en-us/articles/12020189458706-How-to-locate-and-exclude-JS-files-in-the-10Web-Website-Booster).
 * Feel free to let us know in case you face issues. 
   Regards, Mane

Viewing 1 replies (of 1 total)

The topic ‘Excluded JavaScript files Not working for code below.’ is closed to new
replies.

 * ![](https://ps.w.org/tenweb-speed-optimizer/assets/icon-256x256.png?rev=2753401)
 * [10Web Booster - Website speed optimization, Cache & Page Speed optimizer](https://wordpress.org/plugins/tenweb-speed-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tenweb-speed-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tenweb-speed-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/tenweb-speed-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tenweb-speed-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tenweb-speed-optimizer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mane Grigoryan](https://wordpress.org/support/users/manegr/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/excluded-javascript-files-not-working-for-code-below/#post-17748698)
 * Status: resolved