Mobile app version of vmapp.org
Login or Join
Cugini213

: Does Google bot crawl dynamically created iframes? The situation looks as followed: User includes Javascript snippet into his page. Javascript creates iFrame dynamically and appends it to page. iFrame

@Cugini213

Posted in: #Googlebot #Iframe #Javascript #Seo

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini213

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

Google isn't able to crawl iframe content under two circumstances:


the iframe source path isn't present as a clear path in any document, which can be crawled by Google
the javascript, which inserts iframe, starts acting on user action, like onClick.


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


obfuscate the iframe source path
on user action de-obfuscate and load it


In any other case Googlebot will crawl iframe content.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme