a new window and then be able to determine if the web-page that has
been opened contains certain text.
I am opening the new window with:
newpage = window.open(" http://www.yqcomputer.com/
I am then trying to see if it contains certain text by using:
if(newpage.document.getElementsByTagName('body').innerHTML = =
"text") alert("contains the text");
However this line seems to produce an error that says "Access denied".
Does anyone know why this is or another way of achieving my goal?