This userscript adds a shortcut (CTRL+SHIFT+B) to beautify the selected JavaScript code using the same engine that also runs jsbeautifier.org.
You can find the source on GitHub (feel free to fork, improve and send a pull request) or just install it right away.
ChangeLog:
- 1.0: Initial release
- 1.1: Works in Chrome
- 1.2: Fixed beautifier URL