Keyword

Where does K2 load up the facebook js?

  • Dave Sage
  • Dave Sage's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106309 by Dave Sage
Where does K2 load up the facebook js? was created by Dave Sage
Hi,

On everypage just after Body tag K2 is adding in the code to load the facebook api. I just can;t for the life of me work out where it is doing it?

On one site I'm not using facebook and want to remove this bit of code completely.

Any help would be appreciated,

Cheers,

Dave

<div id='fb-root'></div><script>

// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = '//connect.facebook.net/en_GB/all.js';
d.getElementsByTagName('head')[0].appendChild(js);
}(document));

</script>

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #106310 by Lefteris
Replied by Lefteris on topic Re: Where does K2 load up the facebook js?
Hi. K2 does not load the Facebook API, since it is not needed by K2. Look for any system plugins doing this.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum