Menu
show-notice
hide-notice

How To Hide Links From Comments In Blogger

on 12 January 2013

If you bother with some of your blog reader who commenting with link on your blog post, so here is an solution for preventing such irritation from your blog. One of my Friend named as Prayag Verma posted about hiding link from the comment, it's used by jQuery, but here I used CSS for hiding link from the comment body.

Already Blogger detecting spam comment because of large number of anonymous comment, currently it's happening in this blog. Anyway thanks to Blogger service for deleting spam comment automatically from our blog.
 Demo: Let try adding comment in this post with link.. 

How To Hide Links Inside The Comment Body

Using CSS code, it will hide the links inside the comment body. So may be there is doubt in your mind which types links hide inside the comment body? The link added by  <a href=" ">Link</a> . Add the following CSS code to your blog by pasting below code before  ]]></b:skin> 
.comment-content a {
    display: none;
}
So now sit @ rest and automatically hide links from the comment.

SHARE

9 comments:

  1. This is awesome trick..
    Thanks for sharing...
    Link

    ReplyDelete
  2. Awesome http://www.tipsntricks4fun.in/

    ReplyDelete
  3. My friend had the same problem, taking much time to remove spam comments. Thanks for this tip, it helped him save a lot of time.

    ReplyDelete
  4. Nice and simple trick. However, CSS doesn't work for Google. Google ignore CSS. So you must at least employ javascript to do the job.

    ReplyDelete
  5. Thank you. Nice sharing

    ReplyDelete
  6. Hi! I am Munna Singh before some days I was very worry with our skin surgery with any one I heared about Skin Specialist in Delhi in Klinikesthetika clinic. Then I used this service and I got a best treatment for skin. Now I am very happy to use this service.

    ReplyDelete
  7. test http://www.gamerzab.com

    ReplyDelete

Important -Comments with Links will be deleted immediately upon our review and If you are asking a question click the 'Subscribe By Mail' link below the comment form to be notified of replies.