How to View Source Code on Mobile Devices

Hello friends, today I am going to tell you how to view the HTML source code of any webpage in mobile.



As you probably know, the source code of a web page is the raw HTML
code that gets interpreted by the browser so that you can view things
in a user-friendly way (e.g., with images, formatting, spacing and so
on).

Sometimes, however, you want to view the source code directly. For
instance, you might be performing a security check and you want to
view the source code to make sure there are no hidden links or
malicious code there. Or you might be testing a new plugin or script
on your website (e.g., Google Analytics) and you want to see if the
code is being loaded on the page or not.

So how do you view the source code?

The standard way, that works on most browsers, is to right click with
the mouse and then select the "View source" option.

This method won't work on all scenarios, though. For instance, you
might be using a terminal without a mouse, or, even more likely, you
might using a mobile browser.

In those situations there's a trick you can use. I am sure it works on
Chrome and Firefox, though it could work on other browsers too. You
simply need to put "view-source:" on the URL before the domain name.
For instance: view-source:vkctricks.blogspot.com. Type that into your
browser and it will display the source code directly.

It works on the mobile version of those browsers too, so it's a neat
trick for mobile users.

Hope this will help you alot.










Share on Google Plus

About vkc tricks

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment