Title: Script Unload
Last modified: August 30, 2016

---

# Script Unload

 *  Resolved [thejoshtree](https://wordpress.org/support/users/thejoshtree/)
 * (@thejoshtree)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/script-unload/)
 * Hi,
 * I’ve checked the options to prevent loading of Facebook / Twitter / Google scripts
   as it’s slowing the load times on my site and creating errors (Invalid app id,
   etc…), but the scripts keep loading anyway. Any suggestions on how to stop these
   scripts from loading? I don’t need the social functionality of the plugin.
 * Thanks for your help!
 * [https://wordpress.org/plugins/popups/](https://wordpress.org/plugins/popups/)

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

 *  Thread Starter [thejoshtree](https://wordpress.org/support/users/thejoshtree/)
 * (@thejoshtree)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/script-unload/#post-6351450)
 * Also, I’ve isolated the scripts to this plugin for sure, the issue disappears
   if I deactivate it.
 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/script-unload/#post-6351640)
 * Yep the issue is that one line of code is missing in public/class-social-popup.
   php in line 440. It should look like this:
 *     ```
       $opts = $this->spu_settings;
       		$spuvar_social = '';
       ```
   
 *  Thread Starter [thejoshtree](https://wordpress.org/support/users/thejoshtree/)
 * (@thejoshtree)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/script-unload/#post-6351646)
 * Thanks Damian,
 * I’ll update accordingly.

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

The topic ‘Script Unload’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/popups_efeef0.svg)
 * [Popups - WordPress Popup](https://wordpress.org/plugins/popups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popups/)
 * [Active Topics](https://wordpress.org/support/plugin/popups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popups/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [thejoshtree](https://wordpress.org/support/users/thejoshtree/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/script-unload/#post-6351646)
 * Status: resolved