Hello, if a website calls an external JS that document.write()s a standard link, does this link count as a valid backlink? Obviously the html of the page itself doesn't contain the backlink, but my browser - and the same applies for any browser capable of understanding a simple document.write() - correctly sees a normal link. Thanks!
yes search engines can’t read JavaScript, just open the page source and see if the link is "a" valid or not, if on the page source it is written as <a href="xxxx.html">testing</a> then it will be counted. you could search google for this keyword "seo-friendly-javascript-menus"
Google can execute some javascript, but as the javascript gets more complex the chances of it getting executed go down. If you are inserting content via document.write then most likely any links in there will not be counted, so to be safe if you want a link counted you should not have it contained in javascript. http://blogs.forbes.com/velocity/20...reading-your-links-its-now-running-your-code/