Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Google Admits GoogleBot can Parse and Execute JavaScript Code on-the-fly


tedster - 12:03 am on Jun 28, 2010 (gmt 0)


You've still got code in the anchor element that looks something like this: onClick="javascript:functionA('value');"

1. Define functionA and its variables in an external .js file rather than on the page. Since it needs a name, let's call it animals.js

2. Serve the .js from a dedicated directory, let's call it /goodstuff/

3. Disallow that directory in your robots.txt file.

4. Call that script in the <head> with a script element: <script type="text/javascript">/goodstuff/animals.js</script>


Thread source:: http://www.webmasterworld.com/google/4159807.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com