Burp Suite User Forum

Create new post

Disable pretty print through Burp Api?

Aman | Last updated: Mar 01, 2021 10:21AM UTC

Hello, is there any way to disable pretty print on IMessageEditorTab through Burp Api?

Hannah, PortSwigger Agent | Last updated: Mar 01, 2021 11:50AM UTC

Hi There is no way through the Extender API to toggle whether Pretty Print is used or not in the IMessageEditor. There is an option under "User options > Display" to determine whether Pretty Print is enabled or disabled by default. Generally speaking, it is the user's choice whether they would like Pretty Print enabled or not. If you'd like to give some more information on what you're trying to do with your extension, we might be able to come up with some alternative ideas?

Aman | Last updated: Mar 05, 2021 12:02PM UTC

For some reason, pretty print causes the JPanel located near to it shrink when toggled. I'll just add a description then to disable pretty print, thanks!

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.