DnKrozz
09-25-2005, 11:06 AM
I need my script to analyze some external web page content
I use iframe to load this page and try to get content by this code:
var iframe = document.getElementById("loadFrame");
var text = iframe.contentWindow.document.body.innerHTML;
And I get exception "Error: uncaught exception: Permission denied to get property HTMLDocument.body" in Firefox Browser.
How i can bypass this problem ?
Or what another way to get content of external page ?
I use iframe to load this page and try to get content by this code:
var iframe = document.getElementById("loadFrame");
var text = iframe.contentWindow.document.body.innerHTML;
And I get exception "Error: uncaught exception: Permission denied to get property HTMLDocument.body" in Firefox Browser.
How i can bypass this problem ?
Or what another way to get content of external page ?