Burp Suite User Forum

Login to post

Extension context menu item order in 2021.8.1

Chris | Last updated: Aug 23, 2021 04:24PM UTC

I've just updated to 2021.8.1, and noticed that extension's context menus are now grouped under a sub menu per extension (ordered alphabetically, instead of the order extensions are loaded in). I have a couple of custom extensions which already had a single top-level sub menu, so now it the context menu goes: "Extension -> name -> menu -> options" Instead of "Extension -> menu -> options" The single "menu" item being redundant, and untidy. I modified one of the extensions to remove the "menu" level, which is fine, except that the sub menu items returned in a list by createMenuItems() are alphabetically sorted; this is despite List's being naturally ordered according to how items are added. This means that the options are showing out of order. So far I see two workarounds, neither of which are very good: 1: retain the redundant single sub-menu 2: name the menu items "1: do something", "2: do something else", etc. Is there a way to add context menu items for an extension and have Burp honour the order in which they are added, without resorting to using a redundant sub menu or horrible naming? Thanks

Michelle, PortSwigger Agent | Last updated: Aug 24, 2021 12:21PM UTC

Thanks for the feedback, we'll have a chat with the team.

Michelle, PortSwigger Agent | Last updated: Aug 25, 2021 10:48AM UTC

Hi We've passed on your feedback to the team so they can look into options for improving this so the workarounds aren't needed. This thread to the request so we can't you know when there's an update. If you've got any questions, please let us know.

You need to Log in to post a reply. Or register here, for free.