How To Automattically Hide spam Link In Blogger Comment

Comments, Spam 4 comments Comment spam is a major issue for all bloggers. We all love commentsand they can be the life blood of a blog but spam can be hard to control.Even comments that look OK can contain spam links, especially on Blogger were when moderating comments you can not see if any of the text is a link.So in this post I have two ways to ensure your the comments on your blog will not contain spam links.Not only will it remove the links from any future comments but it will also remove all links from past comments. We have two options : CSS -First a small piece of CSS that will completely remove links left in comments.With the CSS the anchor text that make the link (the clickable words) will be completely removed the rest of the comment will remain. jQuery -Second we have a small piece of jQuery script that will leave the anchor text that make the link (the clickable words) but they will no longer be a link or clickable. Cool Ehh ?I had used the CSS for some time (Yes spammers ye have been wasting your time) but have now switched to the jQuery.Check out the video tutorial to see more on how each works then It's your choice on how you want to go.The codes needed are below the video. Video Tutorial Use CSS To Completely Remove Links And Anchor Text Step 1. -In Your (New Design) Blogger Dashboard Click The Drop Down Menu For Your Blog > Choose Customize > Advanced > Add Css, as shown in the video below. Step 2.Copy and Paste the following code into the Css Section then click Apply To Blog. .comment-content a { display: none; } Use jQuery To Remove Links But Leave The Anchor Text Step 1.In Your (New Design) Blogger Dashboard Click The Drop Down Menu For Your Blog > Choose Template > Then Edit Html > Now Proceed as shown in the video Below : Step 2.Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code - How To Find Code In Blogger Template Template) Step 3.Now Copy And Paste This Code Directly Above / Before Note -The line in yellow is the main jQuery script if you previously added this to your blog do not add it.

Comments

Popular posts from this blog

16 Best Free Blogger Templates Featuring Amazing JQuery Featured Slideshows

Add A YouTube Subscribe To Channel Gadget To Your Blog