Running JavaScript Console in Android Chrome (without pc)


Is there any way to open console in Chrome android version to run something like

console.log("Hello world!");



Oh I got it.

Open your browser and go to "Add bookmarks".
Paste this code as URL:

javascript:(function () { var script = document.createElement('script'); script.src="//"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();

Now open a site and go in search bar. You will end up with this. Image here
Press the bookmark that you have recently created and will seen a floating button press on that and boom!

Answered By – Neutral Me

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published