Breaking News
Loading...
Tuesday, 5 August 2014

How to Automatically Remove Spam Links from Blogger Comments

Visit Our Blog, and download free games and softwares and more

Comment Spam is a major issue for all bloggers and identifying/removing spam comments is among the most frustrating job for a blogger. We all love comments but identifying spam comments from hundreds of comments is the toughest job, especially when you don't have time to moderate all those comments. Obviously you don't want to remove all comments just for a few spam comments. As we know that Blogger doesn't have a real-time spam detection plugin, so its your job that how you manage with spam comments. Today, in this article, we will show you that How to Automatically Remove Spam Links from Blogger Comments.


Method I : Use CSS to Completely Remove Links

Step 1. Log in to your Blogger Account
Step 2. Select your Blog >> Template >> Edit HTML and search for the ]]></b:skin> tag
Step 3Copy the below code and Paste it just above/before it

.comment-content a {display: none;}
Step 4. Press the Save Template button and you're done 

Method II : Use jQuery to Remove Links

Step 1. Log in to your Blogger Account
Step 2. Select your Blog >> Template >> Edit HTML and seach for the <body> tagStep 3Copy the below code and Paste it just after/below it

 <!-- Remove Spam Links --><script>$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});</script><!-- Remove Spam Links -->

Step 4. Press the Save Template button and you're done

I hope that this article helped you in Removing Spam Links from Blogger Comments. Share it with your friends and don't forget to subscribe us.

0 comments:

Post a Comment

If you face any problem, then don't hesitate. Just Sumbit Your Problem In The Comment Section Within 24 Hours. Be Careful We Have Zero Tolerance For Spam !

 
Toggle Footer