3

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

console.log("Hello world!");

WITHOUT PC

3 Answers 3

10

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 have recently created and will seen a floating button press on that and boom!

1

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

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Jan 20 at 9:55
-2

Chrome android does not provide developer options, there is no way.

0

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.