10 February 2014

Open All Links in New Tab on Blogger Threaded Comment

// // 8 comments
Open All Links in New Window on Blogger Threaded CommentIf you own a quite popular blog then you must often got anchor texts into your blogger comments by spammers.They love to use our blogs as traffic.So whenever visitors clicks on those hyperlinks from your comment section inserted by spammer they directly leave your blog and move onto their blog,thus you'll loose some decent amount of traffic.So what if those spammy links open in new tab whenever other visitors click onto them.So here today we're going to share such a simple and easy way to make it happen by using jquery.Implementing this your blog traffic status will surely going to improve a lot.






Open Comment Links In New Tab Using Jquery


  • First Log onto your blogger account
  • Next goto blogger dashboard>edit html>proceed
  • Now Search(ctrl+f) for </body>  and before it add the following code

<script src='http://code.jquery.com/jquery-latest.js'/> <script type='text/javascript'> jQuery (document). ready (function ($){$ ('. comments. comments-content. user a'). click (function (){window. open (this.href);return false;});});</script>

  • Now save the template and you're done

Customization

  • If you already have latest jquery installed into your blogger template then remove the latest jquery code from above piece of codes.


 Must Read : Open All Links in New Tab on Blogger


Using this we may not prevent spam comments on our blog but it'll make some delay,so let's try it and share your review with us through the comment box below.

Articles You May Like

8 comments: Leave Your Comments

  1. Spamming by other bloggers is never a good idea. This is a very technical subject that I can apply on my blogs.

    Write more and enlighten us on these great tips :)

    ReplyDelete
  2. I agree! I hate these spammers as well that's why I installed Akismet to moderate all of my comments first :)

    ReplyDelete
  3. Whoa do spammers only comment on popular blogs with anchor texts? I often receive those and actually I have installed a widget to control those spam.

    ReplyDelete
  4. Yes, this really saves you a lot of traffic. Spammy links are really annoying.

    ReplyDelete
  5. i agree that spam is still a spam but this info that you provided is really helpful!

    ReplyDelete
  6. Wow. I never was the techie type, and never really saw the importance. Thanks for this. Really informative & helpful :)

    ReplyDelete
  7. Thanks for the tip! This would really help me avoid spam :)

    ReplyDelete