Usually getting access to elements from iframe will cause cross-origin error:
SecurityError: Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame."
There are plenty of methods to solve it by building up communications between parent page and iframe page.
However in my case, iframe's src is an published website, which means I can not modify it or control it.
How can I solve this kind of cross-origin issue???