Forum Moderators: open

Message Too Old, No Replies

Does Google crawls LINKS in js?

need quick help

         

nabi1

2:30 pm on Jan 21, 2004 (gmt 0)

10+ Year Member



I have a very important question.

Is it cheating if you write your links from ypur linkpartners in javascript? Does Google see it if you write your links in javascript or will they simple be blocked/ignored/refused?

agerhart

2:33 pm on Jan 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>>>Is it cheating if you write your links from ypur linkpartners in javascript?

Depends what you consider cheating. ;)

>>>>>Does Google see it if you write your links in javascript or will they simple be blocked/ignored/refused?

Google will read the links...as long as it can find the http:// in the code.

nabi1

2:39 pm on Jan 21, 2004 (gmt 0)

10+ Year Member



Google crawls sites for links and then visits the links so they will also be submitted in Google. But it seems that Google simply doesnt read anything in JS, so are you really sure about this?

korkus2000

3:14 pm on Jan 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It definitely sees it. It just doesn't execute it, yet.

[google.com...]

donstar

4:23 am on Jan 30, 2004 (gmt 0)

10+ Year Member



plz can some one tell me how to have this java script on my new sites..... I dont want google to crawl links on my page as it would drain away page rank. Has it to be done at the server end? Where can I get the code to do this.? . Thanks

donstar

4:24 am on Jan 30, 2004 (gmt 0)

10+ Year Member



I mean external links to other sites....

ORBiTrus

4:50 am on Jan 30, 2004 (gmt 0)

10+ Year Member



Defeating the googlebot is bad.

Googlebot is your friend...

That said, the same way some ppl email mask, you can link mask. That being said, I will not go further in depth, unless your reason is not what it seems.

donstar

11:39 am on Jan 30, 2004 (gmt 0)

10+ Year Member



Thanks so much for your reply. The reason is I have a site in which I sometimes take research content from white papers etc & fairly give the content credit to those sites. However, this seems to reduce whatever low page ranking I seem to have. Hence I would like to know about the this java script for external links.

ukgimp

12:02 pm on Jan 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>Google simply doesnt read anything in JS,

Oh yes it does, certainly with on page JS.

If you really wanted to hide it you could break the links up and glue them back together.

ORBiTrus

1:02 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Yep exactly what he said....

<script language="javascript">

locationTLD="com" // top level domain
location="test" // the domain
locationSD"www" // sub domain
path="/"

document.write("http://"+locationSD+"."+location+"."+locationTLD+path);

</script>

donstar

2:58 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Thanks you guys for your time :)

christodd

11:11 pm on Jan 31, 2004 (gmt 0)

10+ Year Member



Google reads javascript in the page and follows urls in it - and many times will do this wrong and think external links are local to your site.

But google does not read external javascript files, so if you have URLs, put them in an externally included .js file.

korkus2000

3:40 pm on Feb 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>But google does not read external javascript files

Look at my example above. Google has been indexing .js files for a while now.