Title: JavaScript with Exeption doesn´t work
Last modified: February 15, 2020

---

# JavaScript with Exeption doesn´t work

 *  [bilip](https://wordpress.org/support/users/bilip/)
 * (@bilip)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/)
 * Hi Guys,
 * if i make a scan with GTmetrix ([https://gtmetrix.com/reports/goerlach-esg.de/g0pvth4e](https://gtmetrix.com/reports/goerlach-esg.de/g0pvth4e)),
   my JS-values are bad. If i acitve it in the plugin every Slider doesn´t work.
   Also if i put it in the exeption. What can i do to use Autoptimze and to have
   good values in my JS-Scan?
 * Best regards
    Bili
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-with-exeption-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440204)
 * hey Bill;
    if you activate “optimize JS” and you add `plugins/revslider` to the
   exclusion list (and you make sure `js/jquery/jquery.js` is still in that same
   list, does the slider still break? if so, what JS errors do you see on the browser
   console?
 * frank
 *  Thread Starter [bilip](https://wordpress.org/support/users/bilip/)
 * (@bilip)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440225)
 * Hi Frank,
 * i´ve tried this to exclusions:
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, wp-content/
   plugins/revslider/public/assets/js/revolution.tools.min.js, wp-content/plugins/
   revslider/public/assets/js/rs6.min.js, wp-includes/js/admin-bar.min.js, wp-content/
   plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-
   uploader-min.js
 * or
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, wp-content/
   plugins/revslider/public/assets/js/, wp-includes/js/admin-bar.min.js, wp-content/
   plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-
   uploader-min.js
 * or
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, wp-content/
   plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-
   uploader-min.js
 * or
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, js/codedropz-
   uploader-min.js
 * But i allways get a white screen instead of images or my file-upload (codedropz).
 * I don´t know what to do.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440253)
 * ok, so;
    * can anyone upload images, or only logged on visitors or only editors/
   admins? * is image upload available on all pages, some pages or one page?
 *  Thread Starter [bilip](https://wordpress.org/support/users/bilip/)
 * (@bilip)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440323)
 * I´ve added
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, wp-content/
   plugins/revslider/public/assets/js/revolution.tools.min.js, wp-content/plugins/
   revslider/public/assets/js/rs6.min.js, wp-includes/js/admin-bar.min.js, wp-content/
   plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-
   uploader-min.js
 * to the exclusion NOW! Also as Inline-JS.
    On my desktop it´s ok.
 * If you have mobile or tablet please watch here:
 * [https://goerlach-esg.de/](https://goerlach-esg.de/)
    [https://goerlach-esg.de/projekte/](https://goerlach-esg.de/projekte/)
   and no Upload in the Contact-Form: [https://goerlach-esg.de/kontakt/](https://goerlach-esg.de/kontakt/)
 * The results now aren´t good (only 62% pagespeed):
    [https://gtmetrix.com/reports/goerlach-esg.de/8mIa8qRs](https://gtmetrix.com/reports/goerlach-esg.de/8mIa8qRs)
 * If you have seen it, i should switch to the old configuration or you have a solution?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440402)
 * regarding those 3 pages; had a look and at first sight things look OK. even on
   mobile on the kontakt page I was able to upload a file?
 * but this is getting a pretty chaotic conversation bilip, as I’m missing answers
   to the questions I asked; is file upload available for all users, but only on
   the kontakt page?
 *  Thread Starter [bilip](https://wordpress.org/support/users/bilip/)
 * (@bilip)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440410)
 * Hi Frank,
 * it´s an public upload for anyone.
    There is no login in wordpress required.
 * If you want we can make an Zoom-Call.
 * [https://zoom.us/j/9749756703](https://zoom.us/j/9749756703)
 * I think it´s easier for both of us.
    Do you like?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440414)
 * no time for synchronous communication bilip 🙂
 * OK, so the other part of the question; is file upload only available on the kontakt
   page, or also elsewhere?
 *  Thread Starter [bilip](https://wordpress.org/support/users/bilip/)
 * (@bilip)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440431)
 * It´s avaible also here:
 * `https://goerlach-esg.de/karriere-ausbildung/initiativbewerbung/`

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘JavaScript with Exeption doesn´t work’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [bilip](https://wordpress.org/support/users/bilip/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-with-exeption-doesnt-work/#post-12440431)
 * Status: not a support question