How to Remove Spam links Automatically from Blogger Comments

Remove Spam links Automatically from Blogger Comments

Today we share a new article about blogger users,who faced with many spam comments getting his/her popular blog post. Obviously we don't want to delete our all comments just for the sake of few spam ones? Since, Blogger doesn't have a real-time comment spam detection plugin. ???? So toady we are here discuss about this  - 'How to automatically Remove spam comments or links from blogger' . Ha Ha???? 


Remove Spam links Automatically from Blogger Comments
Remove Spam links Automatically from Blogger Comments 


??Lets Follow Below Guide


Actually We are here showing here 2 methods to get rid of above problem.

??First Method: Use CSS to Remove Spam Links From comments

This Tips Will Help You Remove Comments Also Stop To Search Engine Indexing That Comments

Step ??  Go to Blogger >> Template >> Edit HTML >> Search for </b:skin> tag and just above it paste the following of below JavaScript code:??

.comment-content a {display: none;}

Finally Click To Save Them.??


Next Step  ??



?? Use jQuery To Remove Spam Link ,Comments.


Go to Blogger >> Template >> Edit HTML >> Search for Open <body> tag and just below it paste the following  JavaScript code:

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


That's It; Done. ????????


Additional Tips **


We would recommend you to use comment moderation feature on Blog Post Comment setting. This features included in all blogger template. its advantages - no need use css, no any third-party js.
just you blog comment pending for approval your accepting.

If You Follow Carefully Above Steps Then You Can Stop Your Spam Comments Blocked, Rejected or Deleted Automatically. Hope In This Article Helpful For You.

Post a Comment

0 Comments