1

I know this way,

view.loadUrl("javascript:window.local_obj.showSource('<head>'+" +
                "document.getElementsByTagName('html')[0].innerHTML+'</head>');");

But looks like this only give the <head> tag. If I want to get ALL the source codes, include the comments in <!-- comments-->, what should I do?

KaKa
  • 559
  • 7
  • 18
  • Possible duplicate of [how to get html content from a webview?](http://stackoverflow.com/questions/8200945/how-to-get-html-content-from-a-webview) – Mike M. Apr 19 '16 at 02:26

0 Answers0