Does Google follow Javascript links?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,847
Points
0
Hi all,

Does Google follow links in Javascript ?

Example javascript code:
Code:
var wmslink = [url]https://www.webmastersun.com;[/url]
document.write('<a href=\"' +wmslink+ '\"><img src=\"'+wmsimage+'\" border="0" alt=\"'+wmstext+'\"></a>');
Do you think Google will see links inside JavaScript code ?

Thanks
 
Last edited:

Dmoz

New member
Joined
Jul 7, 2012
Messages
122
Points
0
According to me, google crawl and cache what on site then it will follow that. Thus, if your url(links) in javascript didn't get in Google cache text so It will not be followed by Google. This is just my suggestions.
 

Alex_smith

New member
Joined
Dec 19, 2012
Messages
385
Points
0
I think we can hide this page using the robots tags and we can prevent this from crawling.
 
Newer threads
Replies
3
Views
3,634
Ric
Replies
0
Views
2,185
4ex
Latest threads
Replies
0
Views
17
Replies
2
Views
34
Replies
4
Views
60
Replies
0
Views
53

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top