I was looking for information on hiding noscript from search engines, this way help information on enabling JavaScript wouldn't end up added to the keyword density...
I’m thinking of using a different approach and wanted to get thoughts on it?
Looking at logs I noticed both google and bing have the word bot in it, so what about using an if statement using something asp to look at the user agent for the word bot in it and if it’s not there then continue to write the noscript tag?
This should eliminate it from both google and bing search results and would leave it available for other users who might have JavaScript disabled...
I don't think using is a good idea. I've heard that it is ineffective when the client is behind a JavaScript-blocking firewall - if the client's browser has JavaScript enabled the tag won't activate, because, as far as the browser's concerned, JavaScript is fully operable within the document...
A better method IMO, is to have all would-be 'noscript' content hidden by JavaScript.
Here's a very basic example:
And within your StyleSheet:
More info:
Replacing with accessible, unobtrusive DOM/JavaScript
Reasons to avoid NOSCRIPT