javascriptandroidgoogle-chromeconsole.log

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!");

WITHOUT PC


Solution

  • 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="//cdn.jsdelivr.net/npm/eruda"; 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 recently created, and you will see a floating button press on that and boom!