Title: Remove YouTube script from head
Last modified: August 21, 2016

---

# Remove YouTube script from head

 *  [Emil](https://wordpress.org/support/users/qu1em/)
 * (@qu1em)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/remove-youtube-script-from-header/)
 * Hi,
 * Thanks for the great plugin! Because of the EU cookie directive every cookie 
   is a pain and it seems like your plugin adds a couple of YouTube scripts in the
   head that uses cookies. I’m not using YouTube on the site, so I want to disable
   this but I haven’t been able to locate it in the plugin files. How would I remove
   the scripts?
 *     ```
       <script src="http://s.ytimg.com/yts/jsbin/www-widgetapi-*.js" async=""></script>
       <script src="//www.youtube.com/iframe_api"></script>
       ```
   
 * [http://wordpress.org/plugins/slideshow-jquery-image-gallery/](http://wordpress.org/plugins/slideshow-jquery-image-gallery/)

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

 *  [vegas171](https://wordpress.org/support/users/vegas171/)
 * (@vegas171)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/remove-youtube-script-from-header/#post-4004060)
 * I have the same problem, my website keeps hanging because it wants to connect
   to [http://www.youtube.com](http://www.youtube.com) and s.ytimg.com and I’m not
   using the video feature. Anyway to stop it from happening?
 *  [vegas171](https://wordpress.org/support/users/vegas171/)
 * (@vegas171)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/remove-youtube-script-from-header/#post-4004061)
 * Solved
 * Go to Plugins/slideshow-jquery-image-gallery/js/SlideshowPlugin/slideshow.min.
   js and delete the [http://www.youtube.com](http://www.youtube.com) link, done.
 *  Thread Starter [Emil](https://wordpress.org/support/users/qu1em/)
 * (@qu1em)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/remove-youtube-script-from-header/#post-4004064)
 * That is one way to do, however when you update the plugin your changes will be
   gone. I was hoping the developers had a more permanent solution.

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

The topic ‘Remove YouTube script from head’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-jquery-image-gallery_d3d2de.
   svg)
 * [Slideshow](https://wordpress.org/plugins/slideshow-jquery-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-jquery-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Emil](https://wordpress.org/support/users/qu1em/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/remove-youtube-script-from-header/#post-4004064)
 * Status: not resolved