: Can google “see” this custom javascript code which displays links from an external site to mine I have a javascript code on my site who displays links from another site. This is what I
I have a javascript code on my site who displays links from another site.
This is what I have on my source before:
<script language="JavaScript" type="text/javascript">showLink(1);</script>
This is what I have copied from my source after the page has loaded:
<script language="JavaScript" type="text/javascript">showLink(1);</script><a rel="nofollow" target="_blank" class="anc" href="http://x5.external_site.net/sc/out.php?s=5483&o=http%3A%2F%2Fwww.bluetooth.com">Bluetooth Devices</a>
Can google see this link?
More posts by @Samaraweera270
3 Comments
Sorted by latest first Latest Oldest Best
Yes as long as the <a> with href attribute is being rendered on the page it's going to be found by Google this is a regular link and how it ended up on your page doesn't really matter.
Google can render JavaScript all JavaScript how much they can understand is anyone's guess considering how varying code can be written. But they're surely looking for links and however they're created if it ends up being an <a> I would assume they see it.
GoogleBot now interprets JavaScript and can see the page layout after all JavaScript is processed, so yes they can see that!
Probably. Search engines can read basic JavaScript so this seems simple enough for them to read and understand. if you don't want them to read and understand it then block the JavaScript file using robots.txt.
FYI, if you are doing this for SEO purposes this is considered black hat SEO and could potentially get you penalized up to and including banned.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.