Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access iframe inner html in chrome console

//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: #access #iframe #html #chrome #console
ADD COMMENT
Topic
Name
5+5 =