Forum Moderators: open

Message Too Old, No Replies

Does Google Read Normal Looking Hyperlinks in SCRIPT tags?

         

stripey

12:29 am on Feb 19, 2004 (gmt 0)

10+ Year Member



recently noticed a subdomain of a website (lets call the subdomain shop?.website.com and the site www?.website.com) that was recently launched has hundred or so backlinks from the main site.

Fair enough I thought, after finding them all to be from www?.website.com, they must have put some navigation in to link to the new shopping subdomain.

Interestingly though, the link is only found in the JavaScript drop down menus the main site uses.

Notes: the subdomain has been live for less than 2 weeks and the only links i am aware of that have ever gone to the subdomain from the main site were in the javascript.

the main site is a high PR site with many backlinks to it.

Example of code:


<script language="JavaScript">
<!--
var Array = [ "<a class='Link' href='http?://www.website.com/research/'>Research by Topic</a>", "<a class='Link' href='http?://www.website.com/research.asp'>List of Research Documents</a>", "<a class='Link' href='http?://shop.website.com'>Shop - New Service</a>", "<span style='color: #000066;'>---------------------</span>", ""];
//-->
</script>

(obviously a bit altered to hide identity of site and hopefully kill any links )

Is this new or has Google been behaving like this for a while?

I was always taught JavaScript is not parsed by spiders but in this case the hyperlink is pretty standard HTML, just contained within a Script tag so i guess it's not the same as a link with an onClick referencing the page to follow to or a programmatic dynamic link value.

Anyway, just my observation for the day.

Look forward to hearing your views.

WebGuerrilla

2:37 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This has been the norm for quite some time. A link doesn't even need to be an actual link to show up as a backlink.

If you dig around, you can find examples of .txt files showing up as backlinks simply because there is a url in the file.

Stefan

2:44 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you dig around, you can find examples of .txt files showing up as backlinks simply because there is a url in the file.

Yep, I have one of those, (internal link from a .txt file to the index page)

stripey

3:07 am on Feb 19, 2004 (gmt 0)

10+ Year Member



thanks :-)

useful information indeed.

seofreak

10:54 am on Feb 19, 2004 (gmt 0)

10+ Year Member



does it have a <META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript"> tag?

maybe it's a thing that google does not need to distinguish between javascript and text within as with robots:index, follow tag.