Title: Remove unnecesarry widgets script
Last modified: December 14, 2021

---

# Remove unnecesarry widgets script

 *  Resolved [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/)
 * I’m only using Trustpilot to collect reviews. I don’t want to use the widgets.
 * However I noticed that there’s a js file loaded in the head part which significantly
   impacts page loading speed. Taken from the HTML source:
 * <!– TrustBox script –>
    <script type=”text/javascript” src=”//widget.trustpilot.
   com/bootstrap/v5/tp.widget.bootstrap.min.js” async></script> <!– End TrustBox
   script –>
 * It looks like this is only for the widgets, not for collecting reviews, right?
 * Is there a way to remove this, as it impacts my Google search result for all 
   of my pages!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-unnecesarry-widgets-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15237685)
 * Can you help me with this?
 *  Plugin Author [Trustpilot](https://wordpress.org/support/users/trustpilotapp/)
 * (@trustpilotapp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15368788)
 * Hi [@benlinders](https://wordpress.org/support/users/benlinders/)
    The latest
   plugin version (2.5.901) does not load the script if you have no Trustbox added
   within the plugin.
 *  Thread Starter [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15369112)
 * Hi [@trustpilotapp](https://wordpress.org/support/users/trustpilotapp/)
 * Updated Trustpilot to the latest version 2.5.901
 * I’m not using a trustbox on my website [http://www.benlinders.com](http://www.benlinders.com).
 * And I used “Delete all Trustboxes from website) in the Trustpilot settings below
   TrustBox to make sure that nothing is left.
 * Cleared my cache and minified CSS/JS
 * Still, I find this code on my homepage.
 * Page: [https://www.benlinders.com/](https://www.benlinders.com/)
 * Line 314-316:
 * <!– TrustBox script –>
    // <script type=”text/javascript” src=”//widget.trustpilot.
   com/bootstrap/v5/tp.widget.bootstrap.min.js” async></script> <!– End TrustBox
   script –>
 * What am I doing wrong?
 * Ben Linders
 *  Plugin Author [Trustpilot](https://wordpress.org/support/users/trustpilotapp/)
 * (@trustpilotapp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15369172)
 * [@benlinders](https://wordpress.org/support/users/benlinders/) thank you for 
   your message. But it seems this script was added manually (plugin never adds 
   script with comments).`
    We can not change any other script if it wasn’t added
   within plugin.
    -  This reply was modified 4 years, 3 months ago by [Trustpilot](https://wordpress.org/support/users/trustpilotapp/).
 *  Thread Starter [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15369203)
 * [@trustpilotapp](https://wordpress.org/support/users/trustpilotapp/)
 * Thanks for pointing this out.
 * I checked, and the script was indeed added to the header using the plugin Head,
   Footer and Post Injections. I’m unsure why it was in there, but I removed it,
   and now it’s gone.
 * Glad we got this solved, appreciate your help!
 * Ben Linders

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

The topic ‘Remove unnecesarry widgets script’ is closed to new replies.

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

## Tags

 * [speed](https://wordpress.org/support/topic-tag/speed/)

 * 5 replies
 * 2 participants
 * Last reply from: [BenLinders](https://wordpress.org/support/users/benlinders/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/remove-unnecesarry-widgets-script/#post-15369203)
 * Status: resolved