Title: Remove unwanted javascripts option
Last modified: May 14, 2021

---

# Remove unwanted javascripts option

 *  Resolved [arafail](https://wordpress.org/support/users/arafail/)
 * (@arafail)
 * [5 years ago](https://wordpress.org/support/topic/remove-unwanted-javascripts-option/)
 * Hello!
    I was wondering if you could help me with another issue as follows:
 * On our websites, [https://www.digitalcitizen.life/](https://www.digitalcitizen.life/)
   and [https://www.digitalcitizen.or](https://www.digitalcitizen.or), we are using
   you plugin and it works great.
    We were wondering if there will be a moment where
   we can choose what amp scripts should be loaded from the repository.
 * Let’s take for example, this pagespeed insights report: [https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.digitalcitizen.life%2Fhow-change-or-remove-sim-pin-android-2-steps%2F](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.digitalcitizen.life%2Fhow-change-or-remove-sim-pin-android-2-steps%2F)
 * In the “Remove unsed Javascript” section, there are over 10 unused scripts: [https://www.screencast.com/t/pYADahY7](https://www.screencast.com/t/pYADahY7)
 * Is there, or will there ever be a way to not load the amp scripts we do not actually
   use?
 * Thank you!
    -  This topic was modified 5 years ago by [arafail](https://wordpress.org/support/users/arafail/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-unwanted-javascripts-option%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years ago](https://wordpress.org/support/topic/remove-unwanted-javascripts-option/#post-14439003)
 * Hello [@arafail](https://wordpress.org/support/users/arafail/)
 * Thanks for the support topic, The AMP plugin will load only required scripts 
   on AMP page, AMP plugins scan for amp components that are used on each page, 
   and adds scripts for them.
 * There’s was a GitHub issue in the AMP framework repository that explains these
   notices in the opportunities section of PageSpeed Insights. The scripts themselves
   don’t directly impact the performance score.
    [https://github.com/ampproject/amphtml/issues/28638](https://github.com/ampproject/amphtml/issues/28638)
 *  Thread Starter [arafail](https://wordpress.org/support/users/arafail/)
 * (@arafail)
 * [5 years ago](https://wordpress.org/support/topic/remove-unwanted-javascripts-option/#post-14463045)
 * Hello and sorry for the delayed response. This has become less important at the
   moment.
    We will come back to this in the future. Thanks!

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

The topic ‘Remove unwanted javascripts option’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

 * [core web vitals](https://wordpress.org/support/topic-tag/core-web-vitals/)
 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * 2 replies
 * 2 participants
 * Last reply from: [arafail](https://wordpress.org/support/users/arafail/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/remove-unwanted-javascripts-option/#post-14463045)
 * Status: resolved