In this post, I will you giving you a script that will help you prevent the use of HTML codes that enables the embedding of hyperlinks.
Removing Links From Blogger Comment Section
- Log in to your blogger dashboard and back up your template.
- Navigate to Template > Edit HTML
- Click anyway inside your HTML editor and press Ctrl+F to open the search box.
- Copy and paste the code below in the search box
</body>
- Now paste the code below just above the </body>
<!--comment spam starts-->That was all about removing links automatically from blogger comment section, feel free to leave your questions or contributions regarding this tutorial.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/>
<script>$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});</script>
<!--comment spam ends-->
No comments:
Post a Comment
We love to hear from you!
We encourage comments, but please DO NOT SPAM. We do pre-moderate some comments with links.
THANKS.