Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable javascript console on Android 4.2.2

I'm trying to enable the JavaScript Console to debug a webpage in the stock Android browser on a Samsung Galaxy S4 running 4.2.2.

On the S3 I just type in about:debug in the address bar and it comes up but it doesn't work on the S4, it seems to do an autocomplete for chrome://debug.

Firstly it would be great to know how to get the console open and secondly why would Chrome's autocomplete be coming up for the stock browser?

Thanks

like image 307
Giles Butler Avatar asked Dec 18 '13 02:12

Giles Butler


People also ask

How do I get to the console on my Android?

Click the Inspect option under the tab you want to view the web console for. A new window will open. You can interact with the Chrome browser on your Android phone via the left panel in this window or you can interact with it on your device so long as you do not disconnect it from your computer.

How do I access my Webview console?

Launch Chrome on your dev computer and navigate to the url chrome://inspect . This page shows you a list of webview instances running on your connected Android device. Click the inspect link next to the webview that you wish to debug. This will open a new Chrome DevTools window for inspecting the webview.


1 Answers

I don't know how to activate this console.

But I have used a tool that can allow you to remote debug any browser with limited changes to your web page (only add one script). It is VorlonJS and you can find demo here: http://vorlonjs.com/#demo

like image 91
Arnaud Develay Avatar answered Oct 04 '22 23:10

Arnaud Develay