ADVERTISEMENT

JavaScript Console in Android Mobile Browser Using eruda

Telegram Group Join Now

ADVERTISEMENT

JavaScript Console in Android Mobile Browser Using eruda

JavaScript Console in Android Mobile Browser Using eruda
JavaScript Console in Android Mobile Browser Using eruda

 

ADVERTISEMENT

ADVERTISEMENT

Welcome to the codewithrandom blog, In this article, we learn how to access the Javascript console in our chrome browser by typing a simple command. Basically, we use eruda ,eruda is a console for Android Mobile Browsers. So here is the code so you copy-paste in your URL tab in the Mobile browser.

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

Copy this code and open your mobile browser then paste this, and the browser removes javascript: word from this line so type javascript: manually and click on search or enter, then you see an icon like in the below image.

ADVERTISEMENT

JavaScript Console in Android Mobile Browser Using eruda

 

ADVERTISEMENT

When you click on this icon you see the same console as we see in our pc or laptop browser so click on the icon that appears in the corner, below the image.

Ecommerce Website Using HTML, CSS,  JavaScript (Source Code)

 

ADVERTISEMENT

JavaScript Console in Android Mobile Browser Using eruda
JavaScript Console in Android Mobile Browser Using eruda

 

After clicking on this icon you can run any javascript comments or do calculations as we do in-browser so I just write 10+90 and click on executed and the answer is 100 and show output like desktop browsers.

 

ADVERTISEMENT

JavaScript Console in Android Mobile Browser Using eruda
JavaScript Console in Android Mobile Browser Using eruda

 

ADVERTISEMENT

100+ JavaScript Projects With Source Code ( Beginners to Advanced)

If you want to know more about Eruda check the GitHub repository and read about how code execution and Developer console run in Mobile Browsers!

Eruda GitHub

if you have any confusion to run the Developer console do comment so I reply as soon as possible.

Thank you for reading!

ADVERTISEMENT

written by @codewith_random

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

Telegram Group Join Now

Share on:

Leave a Comment

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT