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

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...