Tobto Logo

AJAX Generated Nofollow

As you can see I've got a SEO Resources page with tons of links. Recently I've decided to insert 'nofollow' tag into every link on that page.

As there are over 1500 useful listed resources editing urls by hand would be immence waste of time. So, I've decided to use magic of AJAX. That looked impressive and realistic. The idea was simple - to find div by id containing tag <a> and to add rel='nofollow'. Mechanism for this purpose looked like this:

  • var links = document.getElementById(id).getElementsByTagName('a');
  • for (var i=0; i
  • links[i].rel = "nofollow"
  • }

Dreams, dreams... The end of this story is negative, because searchbot can't run AJAX :(


No reaction yet.

Your opinion




Are you a human?
Are you a human?