-
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/
发表评论:
给我留言