You can disable iframe and open second.html in new tab or window.

This is the index.html

Send a message to second.html