Support » Plugin: Payment Button for PayPal » Remove Unused Java Script

  • Resolved troyw2015


    I have spent the morning reading lots of forums about this and all I am seeing is deep coding solutions, for what shouldn’t be a problem.
    Like 99% of WordPress users, I am not a coder (not a good one anyway).

    Problem is that Google Page Speed Insights is complaining that ‘’ and ‘paypalobjects’ are killing my website speed. Remove Unused Java Script
    It seems that Paypal is loading on all pages of my website, when it should really be loading on just the Woocommerce Pages.

    I have read all about ‘Deregister & Dequeue Stylesheets and Scripts’ and the coding necessary to do this seems ridiculous. Sadly none of the forums that discuss this coding, provide any reasonable examples I can even begin to get my head around.

    I am fairly certain I am not alone with this issue, especially with the Core Web Vitals update looming, so please may I ask.
    Will you be updating your plugin to stop loading on all pages or at least allow users to choose if it does.
    Or, can you provide the appropriate code and where to paste it.

    Thanks in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove Unused Java Script’ is closed to new replies.