Generate multi-color output in script output panel?

7 views
Skip to first unread message

Eddy Vanlerberghe

unread,
Dec 23, 2025, 10:48:14 PM (2 days ago) Dec 23
to ZAP Developer Group
Hi,

This is a question regarding scripting in Zaproxy and if this belongs more in the users groups than this group, please let me know?

Anyway, I am trying JS-Beautifier (https://codeberg.org/fennix/zap-scripts) as a script. If you look at the response body panel, there is a colored version of Javascript (and other types?) code. However, the beautified output of the script does not show multiple colors.

Can you suggest a way to provide similar coloring in the script output panel? As far as I know, that output is generated by the script code, so my guess is that that script has to be modified to use multiple colors?

Regards,

Eddy.
Reply all
Reply to author
Forward
0 new messages