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 -

c - Defining floating point constants, how many digits are useful? -