18

I have used Google Chrome, UC Browser, Opera Mini but I haven't found a way to use any of these browsers to view the source of a web page.

I need an Android web browser or any other software that can view page source like I would do on PC.

  • 2
    Hmm. Does it have to be a web browser? There are apps for this. – Seth Feb 7 '14 at 0:29
15

Been a while since I did but last time I used it (and don't usually use smart phone - was on a friend's) I could (IIRC) type view-source:<address>.

On a quick look over at android SE I see this answer (ie did a quick search with view-source to confirm I wasn't remembering incorrectly) which suggests view source addon for firefox. To be clear: I haven't used this addon so I can't say really review it but it probably would work good if you don't want to be typing view-source:

On the BlueStacks emulator (since I don't use a smart phone - live outside of cell service anyways so what's the point): screenshot

(A): just type view-source: at the start of the address. I can't recall whether with a REAL smartphone it does this but at least on the emulator it doesn't show the view-source: except in address bar edit mode.

(B): and there you have the source code.

  • 1
    I can confirm that the Google Chrome browser does let you view the source with that method (although I'm not aware of any way to get there via UI, I think you just have to go there manually). – animuson Feb 7 '14 at 2:18
2

VT View Source

I have found this helpfull in the past. It provides good UI and code highlighting. Though it supports word wrap, it is still not that usefull unless you have a device with good screen space.

  • 1
    could you add a screenshot and maybe elaborate a bit more about why this product is good? Is it intutive to use? Fast and responsive? Or does it have any drawbacks that should be noted? – Angelo Fuchs Feb 9 '14 at 18:08
0

In android, with both Mozilla Firefox and Google Chrome, you can immediately view any website source code, but in some other web browsers it takes one more step.

To view the source code in other browsers, simply add "view-source: at the beginning of the URL.

Example: view-source://facebook.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy