: 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
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?
More posts by @Cugini213
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.