Skip to content

Merge specified browser windows into each other. Or all of them into one. Simply right click to open Firefox’s context menu when multiple windows are open, or configure a keyboard shortcut. All wrapped up in one tiny free extension.

License

Notifications You must be signed in to change notification settings

Zegnat/browserext-window-merger

 
 

Repository files navigation

Window Merger

Window Merger was created to address how people want to merge browser windows together after a long browsing session. Simply right click to open Firefox’s context menu when multiple windows are open, pick the window you want to merge with, and done!

It focusses on merging windows alone, but gives some usability choices that other alternatives do not have like user defined keyboard shortcuts and accessibility through the browser’s own Tools menu.

Have a look at the screenshots to see what is on offer!

  • Window Merger does not require you to merge everything. Often people wanted to merge only specific windows together, so that choice had to be given.
  • Window Merger does not require you to use a mouse. It offers configurable keyboard actions for those who prefer it.
  • Window Merger works together with Private Windows. Private windows are kept separate from normal windows in all features. A private window will only ever merge with another private window, making sure tabs do not leak into non-private space.

Special care was taken to make sure the extension would fit well within the browser. Its preferences screen integrates with the Extensions page really well, and adheres to dark mode if chosen by the user. Releases are also tested with ESR versions of Firefox to be as accessible as possible.

Beside this Window Merger tries to stick to the Linux mantra of “Do One Thing and Do It Well”.

Some other tab management extensions you may like:

  • FoxyTab — for the all in one thing. If Window Merger does not satisfy your habits, chances are a configuration of FoxyTab exists that does!
  • Duplicate Tabs Closer — for cleaning tabs after merging windows. If getting rid only of windows is not enough, Duplicate Tabs Closer can help you to clear out tabs as well!

Screenshots

Context menu (e.g. triggered by right clicking the page) allowing the choice of exactly what window to merge with.

Screenshot: interacting with context menus. 4 different window names shown as merging candidates.

Extension shortcuts for those who want quicker access away from their mouse.

Screenshot: Firefox’s built-in extension shortcuts configuration screen. 2 different actions can be assigned shortcuts.

Also integrates with Firefox’s main “Tools” menu item for easy access in the browser interface.

Screenshot: Firefox’s Tools menu opened on macOS shows the Window Merger item.

Extension preferences for making the menu available where you want it to be, and for switching the merging strategy.

Screenshot: the extension’s configuration screen. First a list of checkboxes, then a multiple-choice, are displayed.

The same preferences tab as it shows up in Firefox’s default theme on macOS with the operating system appearance set to “Dark”.

Screenshot: the extension’s configuration screen, again. The colours have changed to match Firefox’s dark mode.

Code Style

This extension follows the JavaScript Standard Style. I apologise if you love semicolons. Make sure to run it under the WebExtensions environment:

standard --env webextensions

For further checking the validity of the codebase, make sure to have it linted as a browser extension as well:

web-ext lint

Licenses

  • Everything is released under the BSD Zero Clause License (0BSD). Please see the LICENSE file for more information.

About

Merge specified browser windows into each other. Or all of them into one. Simply right click to open Firefox’s context menu when multiple windows are open, or configure a keyboard shortcut. All wrapped up in one tiny free extension.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 76.1%
  • HTML 23.9%