AJAX Generated Nofollow 使用AJAX js增加nofollow

2009/1/5 12:02:30    发布:walf_man

As you can see I've got a 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 for search engine optimizer resources inserting 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 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 :(

 

翻译以下最后一句:美梦啊美梦....最后我要否定上面的全部,因为搜索引擎蜘蛛无法运行AJAX js

来源URL:http://tobto.org/css-design/ajax-generated-nofollow/

发表评论:

即刻认识你所在地区的8万帅哥美女
免费注册,简单容易!匿名电邮,既隐秘又安
全!注意:绝不含有或容许任何色情成份!
chinesefriendfinder.com

[评论最长字数:1000,查看结果请刷新]

◎请在这里发表您的看法,发言请遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。