I have positive proof that Google does now read Java redirects and penalises [read delists] if the redirect is to another domain and not to the same domain. Redirects within the domain with java seem to be unaffected. Up to recently Google has left these other domain redirects alone.
Hmmm... that's definitely interesting... do you have a sample site that was penalized by chance? - Shawn
Here is a page without redirects http://www.world-ok.com/ski-world/ski-france-aparts.htm "ski apartments france" which is ranking 3 and here is a page http://www.world-ok.com/ski-world.htm that used to rank 3, for "snowboard france" and is now nowhere, that redirected to ski france whilst I redo the site - a total of 5 pages were treated the same way and disappeared. But other redirects from page to page on the ski france site have not disappeared and others on other sites as well.
Well, the page wasn't dislisted completely, it's still in the index: http://www.google.com/search?q=allinurl:www.world-ok.com/ski-world.htm But it doesn't surprise me that it took some sort of penalty, because Google definitely doesn't like people doing that. If you want to continue doing it (I won't lecture you on the obvious reasons to not do it... hehe), and think Google is penalizing you, I suppose you could have your page reference your JavaScript in an external file, then to be double sure search engines never see it, add that JavaScript file to your robots.txt file as an exclude. - Shawn
I tend to agree but I was being lazy and took a quick option but I didn't get round to finishing off that piece of the site The numbers off these pages were not important so I didn't lose anything but after being there like that for some time [months] all of a sudden Goodbye on about five pages and the only thing in common was the redirect. There ya go - won't be lazy next time - I'll do it your way or I'll sort the site first and then bang it down.
Does also using <a href="javascript:location.href='http://www.targetsite.com';">Target</a> penalized by google
lol.. so wrong edit: I don't mind getting an easy PR2 link with little outbound links, so I thank you for that
I've been using these types of redirects for years with no problems....but I am going to implement what Shawn suggested, it sounds a bit safer.