Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iframe innerthtml

//Make sure to select 'top' from JS context dropdown menu in chrome devtools console

document.querySelector('iframe class/id').contentWindow.document.querySelector('body').innerHTML
Source by github.com #
 
PREVIOUS NEXT
Tagged: #iframe #innerthtml
ADD COMMENT
Topic
Name
1+2 =