Reorder a tab
browser_move_tabReposition a Firefox tab in the tab strip to start, end, before or after another tab, or at a 0-based index. Use it to reorder tabs without mouse drag-and-drop.
Instructions
Move a tab to a new position in the tab strip. target is one of: start, end, before, after, index. For before/after give the reference tab context; for index give a 0-based position. This is drag-and-drop on the tab strip, done without the mouse (gBrowser.moveTabTo / moveTabToStart / moveTabToEnd).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 0-based position for target=index | |
| target | Yes | Where to move it | |
| context | No | Tab to move (default: the active tab) | |
| reference | No | Reference tab context for before/after |