Javascript - How to add nofollow attribute to links, Auto nofollow attribute for links

How to add nofollow attribute to links

How to add Auto nofollow attribute for links

You can add nofollow urls via javascript using below scripts.

<script type=\"text/javascript\">
jQuery(document).ready(function(){

jQuery(\'a[href*=\"http://\"]:not([href*=\"http://www.techbluff.com\"])\').attr(\'rel\',\'nofollow\');
jQuery(\'a[href*=\"https://\"]:not([href*=\"https://www.techbluff.com\"])\').attr(\'rel\',\'nofollow\');

});
</script>

The topic on Javascript - How to add nofollow attribute to links is posted by - Leon

Hope you have enjoyed, Javascript - How to add nofollow attribute to linksThanks for your time

Tech Bluff