Videos
Extension to automatically prettify javascript files?
js beautify - configure VS Code CSS formatting - Stack Overflow
Human readable javascripts in chrome developer tools - Stack Overflow
JavaScript and CSS Code Beautifier Malware
ยป npm install js-beautify
Is there an extension that will automatically beautify and add syntax highlighting javascript files? Much like this Chrome extension:
https://chrome.google.com/webstore/detail/javascript-and-css-code-b/iiglodndmmefofehaibmaignglbpdald?hl=en
I know it's possible in the web developer tools, but I just want to load a page and have it happen automatically. I'm not looking to edit anything, I just want to be able to quickly go through a file as needed. Thanks!
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
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).
Hello,
a couple weeks ago it seems Google blocked the extension "JavaScript and CSS Code Beautifier".
Here the overview on chrome-stats
Honestly I took a look at the code and I don't see anything really worrying.But I could be wrong and that's why I'm asking here.I only found some tracking on the usage that literally just sent 2 events: 1 when a js/css file was opened in a tab, the other if you beautified the code in that tab (I don't see the point, but still..).
I still have the source code, if anyone wants to help me find out if there was the concrete risk of important information being disclosed, we can let more people using that extension know.
In the meantime I'm trying to reach the developer and maybe get some answer from him/her.
An interesting factoid is that the extension is still available on the Edge store: see here
IMPORTANT NOTE
The extension theoretically could only run on a tab where a js/json/css file was open directly, so unless someone disprove this, there's no reason to think that anything sensitive could be tracked.