The situation looks as followed:
- User includes Javascript snippet into his page.
- Javascript creates iFrame dynamically and appends it to page.
- iFrame has static content.
Is Google bot smart enough to crawl iFrame's static content?
The situation looks as followed:
Is Google bot smart enough to crawl iFrame's static content?
Google isn't able to crawl iframe content under two circumstances:
If iframe source path is present anywhere in the source code, Googlebot will read it, recognize Aha! Looks like... a path to anything! Lets go and try to read it! So to make the iframe path unreadable for the Googlebot, it should be obfuscated by javascript.
Also, to achieve the goal, that Google isn't able to crawl the iframe content, the javascript should
In any other case Googlebot will crawl iframe content.