homepage Welcome to WebmasterWorld Guest from 54.234.147.84
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Marketing and Biz Dev / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

    
Javascript redirect
bigjoe4




msg:3655727
 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




msg:3655739
 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




msg:3656166
 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




msg:3656811
 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




msg:3657457
 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




msg:3686525
 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




msg:3687283
 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




msg:3748309
 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