Edit: New title. What I\'m looking for is a document.querySelector for elements inside an iframe.
I\'ve done quite a bit of Googling for an answer and finally I\'m s
if the original page's url isn't at the same domain with the iframe content, the javascript will treat the iframe as a black box, meaning it will not see anything inside it.