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

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

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