Burp Suite User Forum

Create new post

Drag'n'drop repeater tab events

Chris | Last updated: Feb 24, 2021 10:03AM UTC

Hi. I have an extension which allows you to change the colour and font of Repeater tabs, which I'm trying to refine at the moment. Changing the colours is fine, but when a tab is dragged to rearrange the order, or the title is changed, it loses the colour; curiously, the style (e.g. bold) is kept. This didn't happen before the change to the flat theme. I've tried capturing various events to see if I can detect this and restore it, but all unsuccessfully. Combining MouseMotionListener and PropertyChangeListener somewhat works for dragging, but it fires a lot and I can't see a 100% reliable way to detect the end of the move. I have two questions: 1: is this re-styling feature due to Burp, or the underlying theme library (flatlaf?) 2: is there a reliable way to detect the end of a drag'n'drop and/or title change, so that I can restore the colour? Thanks

Uthman, PortSwigger Agent | Last updated: Feb 24, 2021 02:43PM UTC

Hi Chris, If possible, could you please share your extension and source code with support@portswigger.net?

Chris | Last updated: Feb 24, 2021 03:33PM UTC

Hi Uthman. I've sent that, thank you :)

Uthman, PortSwigger Agent | Last updated: Feb 24, 2021 04:06PM UTC

Thank you! We will get back to you as quickly as possible. :)

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