How to get all of html's source code in webview, android? -


i know way,

view.loadurl("javascript:window.local_obj.showsource('<head>'+" +                 "document.getelementsbytagname('html')[0].innerhtml+'</head>');"); 

but looks give <head> tag. if want all source codes, include comments in <!-- comments-->, should do?


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -