Does Google follow Javascript links?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,835
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
121
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
4,124
Ric
Replies
0
Views
2,626
4ex
Recommended threads
Replies
12
Views
5,980
Replies
9
Views
6,816
Replies
3
Views
3,559
Replies
0
Views
2,688

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