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.
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 |
Spamming by other bloggers is never a good idea. This is a very technical subject that I can apply on my blogs.
ReplyDeleteWrite more and enlighten us on these great tips :)
Thanks for sharing your view with us.
DeleteI agree! I hate these spammers as well that's why I installed Akismet to moderate all of my comments first :)
ReplyDeleteWhoa 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.
ReplyDeleteYes, this really saves you a lot of traffic. Spammy links are really annoying.
ReplyDeletei agree that spam is still a spam but this info that you provided is really helpful!
ReplyDeleteWow. I never was the techie type, and never really saw the importance. Thanks for this. Really informative & helpful :)
ReplyDeleteThanks for the tip! This would really help me avoid spam :)
ReplyDelete