If you have a Google account, you can save this code to your Google Drive.
Google will ask you to confirm Google Drive access.
Save file as:
If you have saved a file to Google Drive, you can open it here:
Click the "Try it" button to get and display the value of the first H1 element in the iframe (another document).
Note: Internet explorer 8 and earlier does not support the importNode() method.