In this article i teach you that how to prevent someone from commenting on your blogger blog. This tutorial is very helpful for you if your blog is effected by spam comments links of someone. In blogger platform all control in your hand & you have power to block someone from commenting on your post.
In blogger platform you can block any targeted spammer and prevent them to access your blogger comment form by following some simple steps.
How To Block Someone From Commenting On Your Blogspot Blog
<b:if cond='data:blog.pageType != "index"'> <b:if cond='data:comment.authorUrl!= "https://www.blogger.com/profile/xxxxxxxxxxxxxxxx"' > <script> $(".comment-form").replaceWith("<p style=" color: #111; text-align: center; border: 1px solid #444444; padding: 13px; font-size: 15px; ">You are Banned!! cause spam activities.</p>"); </script> </b:if> </b:if>
5. https://www.blogger.com/profile/xxxxxxxxxxxxxxxx change it with spammer's blogger profile id.
and save theme all done your spam commenter get blocked and he will not access your comment system for commenting and making spam.
Thanks for reading, I hope you like How To Block Someone From Commenting On Your Blogspot Blog article. Don't forget to read our hindi article about How to prevent user to posting a link via comment..