- shorten links and earn money!

How To Remove Links From Blogger Comments Automatically With jQuery

Every blogger hates spammer. So to combating them is by preventing the use of HTML-based codes that enables the embedding of hyperlinked texts. You can remove links from blogger comments Automatically with jQuery. Simply follow the instructions below.

1. Go to Dashboard ->> Template ->>; Edit HTML

2. Search this code (Ctrl + F), </body>, and then copy/paste the code below just right above it.
<script src=''/>
<script>$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});</script>

3. If you want the hyperlinked texts removed entirely than just disabling the hyperlinked text, then copy/paste this code below instead.
<script src=''/>
<script>$('.comment-content a[rel$=nofollow]').hide());</script>

NOTE: If you already have the part that’s highlighted already in your template’s code then exclude it and just copy the remainder of the code.

4. Save your template. That’s it. Done!

Share it to your friends!


Post a Comment

Drop your comment. Ask or suggestion.

Join us on Faceboook Page too.