JS Получите все iframes
var i, frames;
frames = document.getElementsByTagName("iframe");
GutoTrosla
var i, frames;
frames = document.getElementsByTagName("iframe");
//Make sure to select 'top' from JS context dropdown menu in chrome devtools console
document.querySelector('iframe class/id').contentWindow.document.querySelector('body').innerHTML