# China related JS questions (facebook)

**URL:** <https://forum.kirupa.com/t/china-related-js-questions-facebook/325376>\
**Category:** web dev\
**Created:** [October 12, 2011, 5:22am UTC](https://forum.kirupa.com/t/china-related-js-questions-facebook/325376 "2011-10-12T05:22:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussianBeer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/russianbeer/32/152_2.png) [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Post date:** [October 12, 2011, 5:22am UTC](https://forum.kirupa.com/t/china-related-js-questions-facebook/325376/1 "2011-10-12T05:22:04Z")

</div>

Hello!  
Im having an issue with a facebook script, since I live in China.

As you might know, facebook is blocked here, however people with VPNs can still see it. I have a FB feed on my website [www.hola-china.net](http://www.hola-china.net). What happens if you dont have a VPN, the fb script is in continuous loading.

My question, is there anyway to disable or maybe hide the script until its finished loading?  
Any other ideas welcome.

the site: [www.hola-china.net](http://www.hola-china.net)

script:

```auto
<div id="fb-root"></div><script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
 }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/pages/Hola-China/131523553616139" data-width="300" data-height="400" data-show-faces="true" data-border-color="black" data-stream="true" data-header="true"></div>

```
