homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Marketing and Biz Dev / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

    
Javascript redirect
bigjoe4

5+ Year Member



 
Msg#: 3655725 posted 8:36 pm on May 21, 2008 (gmt 0)

Does anybody know whether google can see javascript redirects?

I intend to use this code:

<script type="text/javascript">
<!--
window.location = "http://www.example.com/"
//-->
</script>

 

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3655725 posted 8:44 pm on May 21, 2008 (gmt 0)

Google reads and follows straightforward links in JS, but it does not "execute" the code. Client-side JavaScript is not appropriate for cloaking, and won't work (I assume that's why you posted here).

Effective cloaking requires server-side solutions, and you must "keep up" with *all* of the search engine's IP address ranges and user-agents (some of which are exact browser user-agent spoofs).

Jim

bigjoe4

5+ Year Member



 
Msg#: 3655725 posted 9:29 am on May 22, 2008 (gmt 0)

Thanks for reply,

I was intending to redirect real visitors to a different page but google would read the page and hopefully not realise that the page redirected. :)

-Joe

volatilegx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3655725 posted 8:56 pm on May 22, 2008 (gmt 0)

That's not a very effective technique to use for Google. It's a good way to suffer a penalty.

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 3655725 posted 3:26 pm on May 23, 2008 (gmt 0)

Google is even able to detect some obfuscated javascript which spammers/hackers use to redirect you to their actual site such as:

<script type="text/javascript">
<!--
eval( unescape( "%20... bunch of junk here..." ) );
//-->
</script>

You can try to hide it this way, it used to work pretty good, but not so much anymore.

netbuddy

5+ Year Member



 
Msg#: 3655725 posted 8:43 pm on Jun 29, 2008 (gmt 0)

Google sees EVERYTHING!

So if you think that you can hide a CD's worth of your fave group in your web space to share with your mates, think again as you are sharing it with the world.

Nothing in the google world is hidden, I spent about 3 weeks google hacking as its called. I didn't need to touch p2p networks for a while!

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3655725 posted 12:23 am on Jul 1, 2008 (gmt 0)

*** I was intending to redirect real visitors to a different page but google would read the page and hopefully not realise that the page redirected. :) ***

Ooops. FAIL.

Google specifically warns to NOT do this. It comes in the section about "sneaky redirects".

bilalseo

5+ Year Member



 
Msg#: 3655725 posted 11:23 pm on Sep 19, 2008 (gmt 0)

server side calling of a JS is better idea rather to display on the page.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / Cloaking
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved