Special thanks to:
|
#1
|
|||
|
|||
|
Google is now executing JavaScript found on pages
First i want to say hello to everybody, this is my first post here.
From some time I was suspecting that google will star runnig scripts on pages, now I know it does. I did some doorway pages for a client, about two years ago. The doorway pages were optimized for different keywords and had a javascript redirect to the main page. Today I was shocked to see that google has recently indexed each doorway page having the content of the main page. So, the url displayed is something like: "www.domain.com/keywordX.html" but with the title and content of the main page. This goes for all the doorway pages using the javascript redirect and is very recent, until now every page was indexed with it's title and content. Does anyone else know about this? PS: English is not my native language, so ... ![]() |
|
#2
|
||||
|
||||
|
Are you using a 301 or 302 redirect?
|
|
#3
|
|||
|
|||
|
No, the only redirect is done with JS
|
|
#4
|
||||
|
||||
|
very interesting, great catch!
|
|
#5
|
||||
|
||||
|
Google has prodded around in JavaScript for a while now, usually to find new links to index or more recently to see if you're doing something naughty. It seems to bypass Google if you URL encode all your JavaScript and then stick it in an unescape() function.
e.g. Code:
eval(unescape("document.write%28%22Dodgy+Code%22%29%3B"));
A little too old school for me though. I would give you an example of a doorway page using this technique and ranking, although it would be hard to do so without "outing" them. ![]() Rob |
|
#6
|
||||
|
||||
|
Great point Rob!
|
|
#7
|
|||
|
|||
|
the javascript routine did the redirect with an eval function, something like eval("docum"+"ent"+".loc"+"ation='rfrfrfr'"); so google does not just read the js content to extract urls, it actually runs the script
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|