Automatically Hide Links From Blogger Comments
by Dinesh[ Edit ] 2014-04-08 11:14:31
Automatically Hide Links From Blogger Comments:
Blogger comments are very useful to ask questions, tell suggestions or show feed back of particular page in a blog. Now a days many spammers, seo's are used to post their links to other blogs via comments page to get back-links from that page.
If you want to hide spam url's from comments follow the steps,
Step1: Pack up your template
Step2: Goto Blogger Dashboard -> Template Design -> Edit Template
Step3: Find </body> tage using (Ctrl+f) button from browser.
Step4: Add following two lines above </body> tag.
<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>
that's it. You have hide all url's from comments page.