Friday, November 16, 2018

html - How do I view source in the Android browser?


Is there a way to view the source HTML in the Android web browser?



Answer



You can use Javascript's alert method to return the source code, type this in the address bar:


javascript: alert(document.getElementsByTagName('html')[0].innerHTML);


No comments:

Post a Comment