PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 3, 2022

[FIXED] How to Remove Facebook Comments Plugin From A Blogger Blog

 November 03, 2022     blogger, facebook, facebook-graph-api, html     No comments   

Issue

I have a blogger blog

I want to completely remove Facebook Comments Widget/Plugin and replace it with Disqus since I know that viewers would prefer Disqus more than Facebook plugin.

I tried a lot of times to remove facebook plugin but even if I remove it some or other problems keep rising. Like I won't be able to add Disqus comments or neither Google comments work.

The theme I am using is a 3rd party designed theme and the developer and his website is nowhere to be found anymore. His website was closed and he can't be contacted from anywhere else.

Though I have modified a lot of parts, here is the theme of my blog:

pastebin.com/EJieAgfe

The above theme is directly downloaded from my blog. Please help me.


Solution

Click anywhere inside your code area, press CTRL + F, search for <body> and remove the next block of code

<div id='fb-root'/>
<script type='text/javascript'>
function fb_load(){var d=document.createElement(&quot;script&quot;);d.src=&quot;//cdn.rawgit.com/tutorialku/usagilabs/master/fb_us.js&quot;,document.body.appendChild(d)}window.addEventListener?window.addEventListener(&quot;load&quot;,fb_load,!1):window.attachEvent?window.attachEvent(&quot;onload&quot;,fb_load):window.onload=fb_load;
</script>


Answered By - user6144987
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing