title: Can Google crawl HTML content appended by a JavaScript widget?
body: <p>I have a widget that is embedded on a third party site. The widget loads a JavaScript file that retrieves HTML content via ajax and appends it to the third party page. The HTML content that is appended to the page contains two types of links:</p>
  
  <p>The first type of link is standard:</p>
  
  <pre><code>&lt;a href="www.example.com"&gt;Click Here&lt;/a&gt;
  </code></pre>
  
  <p>The second type of link calls back into the JavaScript file that adds some params and then uses window.open to execute the link:</p>
  
  <pre><code>&lt;a href="javascript:send_link('www.example.com');"&gt;Click Here&lt;/a&gt;
  </code></pre>
  
  <p>My question is: When Google crawls the third party site, will it crawl the content from my site that is appended by the JavaScript file? And, will it recognize either of the two types of links listed above as a backlink to my site?</p>
  
  <p>Thanks for the input.</p>