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
Post a Comment