Human readable javascripts in chrome developer tools

狂风中的少年 提交于 2019-11-27 06:14:55
fgm2r

Some browsers have a Pretty print button that looks like this {} and it appears for HTML, JS, and/or CSS depending on the browser.

Chrome has it in the in the Sources tab:

Firefox has it in the in the Debugger tab

:

The position of these buttons may change, but it should always be in there

Isn't there the Pretty Print icon (looks like: { }), at least on Windows there is one, within the Scripts tab?

There is the http://jsbeautifier.org/ for online usage (you need to copy/paste).

On that site they have a link to fiddler (a web debugging proxy) and a JavaScript Formatter for it (3rd extention).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!