create iframe to parse html from another html page using just Javascript?
I want to make a tool that takes the URL from the user, parses the contents of the web page and further works on the contents(text annotation). I did find a way to download contents of a URL using Java(and some server side scripting) but I want to use only Java script. Further I want to access all kinds of URLs(i.e not just the ones on the same domain). Hence I need a way to overcome the "same origin policy" too. I read flash can do it but couldn't find any examples that could help me in that direction. Any kind of inputs would be helpful. Thank you.   
create iframe to parse html from another html page using just Javascript?
===

I want to make a tool that takes the URL from the user, parses the contents of the web page and further works on the contents(text annotation). I did find a way to download contents of a URL using Java(and some server side scripting) but I want to use only Java script. Further I want to access all kinds of URLs(i.e not just the ones on the same domain). Hence I need a way to overcome the "same origin policy" too. I read flash can do it but couldn't find any examples that could help me in that direction. Any kind of inputs would be helpful. Thank you.   