Title: How do I remove Javascript files?
Last modified: September 6, 2020

---

# How do I remove Javascript files?

 *  Resolved [Amaranth](https://wordpress.org/support/users/amaranth2000/)
 * (@amaranth2000)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/)
 * Hi,
 * Thanks for a great plugin.
 * I noticed that on most pages I get a browser warning that some pushed resources
   aren’t used. How can I remove them from being pushed?
 * For example:
 * `The resource https://mydomain.com/wp-includes/js/dist/vendor/wp-polyfill-dom-
   rect.min.js?ver=3.42.0 was preloaded using link preload but not used within a
   few seconds from the window's load event. Please make sure it has an appropriate'
   as' value and it is preloaded intentionally.`
 * It is these files:
    - wp-polyfill-fetch.min.js?ver=3.0.0
    - wp-polyfill-element-closest.min.js?ver=2.0.2
    - wp-polyfill-formdata.min.js?ver=3.0.12
    - wp-polyfill-url.min.js?ver=3.6.4
    - wp-polyfill-node-contains.min.js?ver=3.42.0
    - wp-polyfill-dom-rect.min.js?ver=3.42.0
 *  -  This topic was modified 5 years, 8 months ago by [Amaranth](https://wordpress.org/support/users/amaranth2000/).

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

 *  Thread Starter [Amaranth](https://wordpress.org/support/users/amaranth2000/)
 * (@amaranth2000)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/#post-13386316)
 * Hi, any suggestions on how to resolve this? Perhaps with another plugin?
 *  Plugin Author [PI Web Solution](https://wordpress.org/support/users/rajeshsingh520/)
 * (@rajeshsingh520)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/#post-13411349)
 * Hi,
 * Dont preload those resources on the site
 *  Thread Starter [Amaranth](https://wordpress.org/support/users/amaranth2000/)
 * (@amaranth2000)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/#post-13411620)
 * Hi, thanks for your reply.
 * How do I exempt them? I have not chosen any specific resources to preload and
   I think the plugin does all by default.
 * [https://paste.tnonline.net/files/I6BjtblXcIFx_Screenshot_20200916-072524_Opera.jpg](https://paste.tnonline.net/files/I6BjtblXcIFx_Screenshot_20200916-072524_Opera.jpg)
 *  Plugin Author [PI Web Solution](https://wordpress.org/support/users/rajeshsingh520/)
 * (@rajeshsingh520)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/#post-13431096)
 * Hi,
 * you have enabled the option of “Push and Preload” for JS and CSS file thats why
   it is pushing and preloading all the JS and CSS present on that page
 * you can disable it from the option [https://imgur.com/a/kuHChCz](https://imgur.com/a/kuHChCz)

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

The topic ‘How do I remove Javascript files?’ is closed to new replies.

 * ![](https://ps.w.org/http2-push-content/assets/icon.svg?rev=2540934)
 * [Page Speed Optimizer: HTTP/2 Push, Async JavaScript, and Defer CSS](https://wordpress.org/plugins/http2-push-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http2-push-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http2-push-content/)
 * [Active Topics](https://wordpress.org/support/plugin/http2-push-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http2-push-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http2-push-content/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [PI Web Solution](https://wordpress.org/support/users/rajeshsingh520/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/how-do-i-remove-javascript-files/#post-13431096)
 * Status: resolved