JavaScript and CSS formatter/syntax highlighter
PrettyPrint - JavaScript and CSS formatter/syntax highlighter
PrettyPrint is a Chrome extension that provides syntax highlighting and formatting for JavaScript and CSS code. It is based on Webkit syntax highlighter and utilizes jsbeautifier and cssbeautify for code formatting.
Extension stats
This extension was removed from Chrome Web Store on
2023-06-21
Manifest V2
Permissions:
- contextMenus
- tabs
- http://*/
- https://*/
- ftp://*/
Size: 57.98K
Email: gi*****@gmail.com
URLs: Website ,Privacy policy
Full description: See detailed description
Other platforms
Not available on Android
Not available on Firefox
Not available on Edge
User reviews
(Comment updated Jan '23, this extension seems abandoned, see edits)
Pros:
- Highlighting looks good
- You can change the indentation, I use two spaces
Cons:
- Clicking reset button is automatically saved, so if you click it accidentally you are screwed.
- Does not convert url(/images/img.png) to a link, which would be handy
- After prettifying the line numbering is completely useless, as it adds it separates lines. Notepad++ has a solution for this if you turn word wrapping on, this should be adopted.
Update:
1. I found in some cases the script actually changes. For example the minified version of Selectize 0.15.2 works fine if copied into chrome JS console and ran directly. If you use pretty print and then copy the code, it gives an error. In that example the Pretty Print extension converts """ to """ which causes a syntax error.
2. The colors are completely unusable because my source code page uses a dark background and the theme is designed for a light background. Half of the code isn't readable, so I have to get rid of it anyway. This has not been addressed since June 2022 and the extension hasn't been updated since 2012 lol.
by
Radley Sustaire, 2023-01-20
What I wanted. Thanks for the work.
I think it'd be good if you add an option to revert the code back to its normal mode (un-beautified & un-indented). Currently, a workaround to do that, is though reloading the page.
by
Nima Sajedi, 2022-06-14
Stopped woring! Used to work on older versions but not it does nothing.
by
Mayank Raichura, 2022-05-20
Extension safety
Risk impact
PrettyPrint requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.
Risk impact analysis details
- Critical Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
- Critical ****** ****** ** *** ********* ****** * *********** ******** **** ** ** *** ******* *** ****** **** **** *** ******* *****
- High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
- Low ******* ****** ** *** ********* ********
Risk likelihood
We don't have sufficient data to confidently determine the risk likelihood of PrettyPrint. Use it at your own risk.
Risk likelihood analysis details
- Critical This extension is not longer available in the store
Upgrade to see full risk analysis details
Promo images
Similar extensions
Here are some Chrome extensions that are similar to PrettyPrint:
Thomas Rix
6K
Maurice Cruz
20K
andrew.j.matheny
6K
https://steampunck.github.io
10K
http://c7x.me
51K
https://www.zhouqicf.com
20K
https://cssdig.com
10K
szamil
2K
https://linangdata.com
4K
tsenart
8K
alan.stroop
100K
Unknown
20K
https://www.livecsseditor.com
30K
Tomi Mickelsson
30K
M.ed
200K
https://tealium.com
30K
https://octolinker.vercel.app
10K
https://emmet.io
20K
Anvaka
2K
Razvan Caliman
10K
Rapee Suveeranont
4K
https://octotree.io
300K
https://titiskaifa.me
5K
https://livereload.com
100K