Comments on: Dear +Pierre Far Search Engine Optimisation Ireland Sat, 21 Mar 2015 23:42:33 +0100 hourly 1 By: Andrea Pernici Tue, 03 Feb 2015 13:52:40 +0000 The question is interesting.

What about ADS? Some advertise platform give a js code snippet that generates HTML with links followed.

What we must do?

We should ask the provider to change the code to nofollow or we can ignore it?

I think there are lots of implications in this Googlebot change and how to be guidelines compliant.

By: Terry Simmonds Tue, 03 Feb 2015 12:55:56 +0000 +Pierre Far yes, I have made numerous posts about the importance of monitoring comment systems.

People need to understand it's not just links they need be careful of but the comments themselves.

It's no good thinking that just because any links are nofollowed by your comment system that you don't have to worry to much about comments.

Some comment systems still show the comment content in the source code even when the webmaster may think the comment has been deleted.

By: Richard Hearne Tue, 03 Feb 2015 12:39:49 +0000 +Pierre Far taking your simple example, can you comment on whether the following will be followed AND pass PageRank:

document.write('<a href="">example</a>');

By: Pierre Far Tue, 03 Feb 2015 12:21:35 +0000 +Terry Simmonds In this case, we'd most likely index the Viagra-related words. To be honest, this sounds like spam you'd want to control on your end before it affects the user experience on your site before worrying about how our indexing handles it.

By: Terry Simmonds Tue, 03 Feb 2015 11:49:29 +0000 +Richard Hearne +Pierre Far  A quick follow up question on this.

What if the user generated content wasn't just links?

I appreciate any links can be nofollowed (thus ignored by Google), but if the user generated content is just paragraphs of spam filled keywords, Buy Viagra here, Viagra, Viagra, Viagra for example.

Can user generated comments like that have a negative effect on the page they appear on?

By: Richard Hearne Tue, 03 Feb 2015 11:34:12 +0000 Hi +Pierre Far 

Thanks for that.  I'd love to be able to support such a change recommendation with some reasoned evidence behind making the change.  Right now all I can say is that I can see the links in the cache, but cant say if Google wants us to take the same care with JS rendered links as HTML rendered links.

I understand it may not be easy for you to comment, but can you say anything about status of JS-rendered links appearing in cache (text-only) pages?

It may sound trivial to add nofollow, but on large production sites it can take a lot of stakeholder convincing to get such changes above the line.

Your help is appreciated!

By: Pierre Far Tue, 03 Feb 2015 11:28:30 +0000 If you're worried about any link, you can add a rel=nofollow on it regardless of how the link is generated. So to take a very simplistic JS example, this link will be nofollowed:

document.write('<a href="" rel="nofollow">example</a>');