How to Hide Active Link In Blog Comments Automatically

How to Hide Active Link In Blog Comments Automatically

My Backlink - These tips are very helpful for your blog that has a lot of visitors and is relatively stable, because the install script code to hide active link to the blog comments will automatically be easier for you to remove the active link there on your blog comments. Imagine if the comment there are hundreds or thousands of comments on your articles, and there are some people commenting using active links in order to find backlinks.

Active link is very telling to get a link from a website or a blog, but the effect is very high for a blog with comments, if the active link is dead alias is not there on the Internet again, it will be a broken link Broken Link which is a dead link but there on your blog and this will degrade the quality of your blog's SEO. Very dangerous is not it? Therefore I suggest that you install the script code to hide the existing active link on your blog comments automatically.

To hide the active links in the blog comments are automatically we can use two ways, namely by using CSS and can also use jQuery. But I would suggest a better use for that use jQuery css code can still be detected in the html code.

Usually the active link in the blog comments will be undertaken by people who are not responsible, and we can say with SPAM. Because they did not comment after the article topic, instead they trade or advertise in our comment box and it is spam in our blog comments and very disturbing, therefore it is time we use a script to remove active links automatically blog comments to avoid spammers.

Immediately menyembunikan how active links automatically on blog comments?

Please refer to the tutorial you menyembunikan active links automatically on blog comments below:

How to Hide Links Using CSS Automatically Active:

1. Copy one of the following CSS code:

#comments p a {display:none;}

or

#comments p a{display:none!important}

2. Go to Blogger.com
3. Click the Template => Edit HTML
4. Find the script code ]]></b:skin> (press ctrl + f to speed up the search)
5. Paste if you have found one of the CSS code above, right before or at the top of code ]]></b:skin>
6. Click Save Template



How to Hide Active Links Using jQuery Automatically:

1. Go to Blogger.com
2. Click the Template => Edit HTML
3. Find the code </body>
4. Copy the jQuery code below, then paste the above code </body>

<script type='text/javascript'>
//<![CDATA[ function blockLinks(parentID, children) { var parent = document.getElementById(parentID),
content = parent.getElementsByTagName(children);
for(var i = 0; i < content.length; i++) { if(content[i].innerHTML.indexOf('</a>') !== -1) { content[i].innerHTML = "Sorry, Not Shown <span style='background-color: red; color: white; padding: 3px;'><b>Link Active</b></span> Here";
content[i].className = "spammer-detected";}}}
blockLinks('comment_block', 'p');
//]]>
</script>

5. Click Save Template

A few articles on How to Hide Active Link In Blog Comments Automatically.

Hopefully Helpful.