最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Running JavaScript Console in Android Chrome (without pc) - Stack Overflow

programmeradmin1浏览0评论

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

console.log("Hello world!");

WITHOUT PC

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

console.log("Hello world!");

WITHOUT PC

Share Improve this question asked Feb 20, 2021 at 12:45 user13658312user13658312
Add a ment  | 

4 Answers 4

Reset to default 13

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/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.

Press the bookmark that you recently created, and you will see a floating button press on that and boom!

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

javascript:

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

Maybe this'll work for you. It shows the inspect source value if you don't have it enabled either by any administration by anyone or if your device just doesn't have any inspect source button.... Nevermind. i\It seems that you went mexis classroom as well for the coding...

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

发布评论

评论列表(0)

  1. 暂无评论