Title: TypeError   Refused to load the script
Last modified: August 21, 2016

---

# TypeError Refused to load the script

 *  [vipdrivingschool](https://wordpress.org/support/users/vipdrivingschool/)
 * (@vipdrivingschool)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-refused-to-load-the-script/)
 * Hi,
 * Everything seems to be functioning with the plugin, however, I do get these 2
   errors:
 * 1.
    Uncaught TypeError: Cannot call method ‘handleServerJS’ of undefined
 * 2.
    Refused to load the script ‘data:application/x-javascript;base64,LyohICRGaWxlVmVyc2lvbj0xLjYuMjMzICovIA…
   BGODIzNjU0QkI2M0EwQ0ZGNDg4MzNFQzMzMEZEMDVFNjg2RDUxMDcxOTY1RDJDOTQ3RUYxOTlE’ because
   it violates the following Content Security Policy directive: “script-src [https://*.facebook.com](https://*.facebook.com)
   [http://*.facebook.com](http://*.facebook.com) [https://*.fbcdn.net](https://*.fbcdn.net)
   [http://*.fbcdn.net](http://*.fbcdn.net) *.facebook.net *.google-analytics.com*.
   virtualearth.net *.google.com 127.0.0.1:* *.spotilocal.com:* chrome-extension://
   lifbcibllhkdhoafpjfnlhfpfgnpldfl ‘unsafe-inline’ ‘unsafe-eval’ [https://*.akamaihd.net](https://*.akamaihd.net)
   [http://*.akamaihd.net](http://*.akamaihd.net) *.atlassolutions.com”.
 * Seems like the 1st error is caused by the fact that the div is called and loaded
   before the js (or vice versa, can’t remember exactly).
 * Again, functionality-wise, everything seems to be working properly. It’s just
   those annoying errors that I get on the Chrome debugger that really bother me.
 * Also note that these errors are kinda random, meaning that most of the time they
   show up and sometimes they don’t.
 * Any ideas how to resolve these issues?
 * Thanks!
    vipdrivingschool.ca
 * [https://wordpress.org/plugins/facebook/](https://wordpress.org/plugins/facebook/)

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

 *  [reinaldocfilho](https://wordpress.org/support/users/reinaldocfilho/)
 * (@reinaldocfilho)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-refused-to-load-the-script/#post-4766495)
 * This error also affects me, check at [http://econfig.com.br](http://econfig.com.br)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-refused-to-load-the-script/#post-4766496)
 * **[@reinaldocfilho](https://wordpress.org/support/users/reinaldocfilho/)**: If
   you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic instead of tagging onto someone else’s topic.
 *  [reinaldocfilho](https://wordpress.org/support/users/reinaldocfilho/)
 * (@reinaldocfilho)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-refused-to-load-the-script/#post-4766497)
 * Esmi, it’s the same exactly issue, why posting another topic instead of tracking
   this?

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

The topic ‘TypeError Refused to load the script’ is closed to new replies.

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

## Tags

 * [facebook error](https://wordpress.org/support/topic-tag/facebook-error/)
 * [uncaught TypeError](https://wordpress.org/support/topic-tag/uncaught-typeerror/)

 * 3 replies
 * 3 participants
 * Last reply from: [reinaldocfilho](https://wordpress.org/support/users/reinaldocfilho/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-refused-to-load-the-script/#post-4766497)
 * Status: not resolved