I've built some widget for websites which is asynchronously loaded after the page is loaded:
<html>
<head>...</head>
<body>
<div>...</div>
<script type="text/javascript">
(function(){
var ns = document.createElement("script");
ns.type = "text/javascript";
ns.async = true;
ns.src = "http://mydomain.com/myjavascript.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(ns, s);
})();
</script>
</body>
</html>
Is there anyway to notify Google's crawler to index the page only after the page is fully loaded (after the async JavaScript modified the HTML)?