I need to check the view source of the page from mobile / tablet browsers ( Android Phones/Tablets and Feature Phones).
I tried some of the methods but is not feasible like in desktop. I feels difficult to check it.
JS
javascript: alert(document.getElementsByTagName('html')[0].innerHTML);
Chrome && Firefox (Android)
view-source:http://domain.com
Is it there any other method to check in other browsers and in featured phone browsers
This is an old post but still a problem within the Chrome dev tools. I find the best way to check mobile source locally is to open the site locally in Xcode's iOS Simulator. Then from there you open the Safari browser and enable dev tools, if you have not already done this (go to preferences -> advanced -> show develop menu in menu bar). Now you will see the develop option in the main menu and can go to develop -> iOS Simulator -> and the page you have open in Xcode's iOS Simulator will be there. Once you click on it, it will open the web inspector and you can edit as you would normally in the browser dev tools.
I'm afraid this solution will only work on a Mac though as it uses Xcode.