A browser extension which adds a tab context menu item (Firefox) and a button action (Firefox & Chrome) to move a tab to the next window.
Especially useful for these amazing multi-monitor setups when it's too annoying to drag tabs around between windows.
- Mozilla Firefox: https://addons.mozilla.org/en-GB/firefox/addon/move-tab-to-next-window/
- Microsoft Edge: https://microsoftedge.microsoft.com/addons/detail/ndjiippfnecdmbjenbcnjdbjnopkamno
- Google Chrome: https://chrome.google.com/webstore/detail/move-tab-to-next-window/ibpemckpjfpmhlagogddlajhaiemdjaf
- the source tab position is saved in all windows, so if it's moved back into a window, it moves into its original position
- CHROMIUM: if the tab is in a tab group, when moving it the identical group will be created or used in another window
- multiple tabs move - select multiple tabs (use shift or cmd/ctrl) and move all of them into the next window in the same order
- if the tab is active, it will become active in the new window
- if the tab is inactive, it will stay inactive in the new window
- if there is only 1 window, a new window will be opened on move
- keyboard shortcut support
1. Go to Settings -> Extensions
2. Click Keyboard Shortcuts on the top left sidebar
3. Find "Move Tab to Next Window" and add your desired shortcut
1. Visit the "Add-ons and Themes" page
2. Click on the gear icon next to "Manage Your Extensions"
3. Click on "Manage Extension Shortcuts"
4. Find "Move Tab to Next Window" and add your desired shortcut
- TypeScript in strict mode for safety
- Microbundler to build and transpile ts changes
webextension-polyfill
for compatibility with both Firefox and Chrome- ESLint for linting
Prerequisites:
- Node and NPM
- VS Code (recommended)
How to contribute:
- fork the project
npm install
npm run dev-ff
ornpm run dev-chrome
, load unpacked extension fromdist
directory.- make changes, open a PR