Código que tento usar:
var iframe = document.querySelector("iframe");
console.log(iframe.contentWindow.innerHTML);
Erro retornado:
Exception: SecurityError: Permission denied to access property "innerHTML" on cross-origin object
@Scratchpad/1:2:0