Skip to content

Add Shortcut to Open Current Tab and Tabs to the Right in Separate Maximized Windows #19

@0xdevalias

Description

@0xdevalias

Feature request via email:

Please add a shortcut that Opens the Current Tab and Tabs To The Right Each In Separate, Maximized Windows. In other words, I love opening the current tab and tabs to the right in a new, maximized window. However, what I often need is for each of those tabs to the right to open in new, separate, maximized windows.

While you’re at it, why not add this other option, “Create a new, maximized window from each tab.” This would separate out each tab into its own window.

And on the Chrome Store (Ref):

Sophia Jingru (5 stars) May 10, 2018
Extremely useful extension, especially for when I have a lot of tabs of homework and need to start sorting by subject. Very simple to use. Would like it if the new window was opened full screen, but that's just a minor issue.

Dean (5 stars) Aug 22, 2024
Thanks for the great extension!

Feature Request: Please add a shortcut that Opens the Current Tab and Tabs To The Right Each In Separate, Maximized Windows? In other words, I love opening the current tab and tabs to the right in a new, maximized window. However, what I often need is for each of those tabs to the right to open in new, separate, maximized windows. Thanks for your consideration!

By the way, when a New Window is opened, it doesn't open maximized. Does anyone know how to make the New Window always open Maximized? It would be even more amazing to create a shortcut that opened to a "New, Maximized Window on Monitor 1" or New, Maximized Window on Monitor 2."

Some Chrome Extension API docs potentially related to this feature request:

This is the extension code that currently (in the MV3 version of the extension at least, see #13 , #20) handles creating a new window:

/**
* Creates a new window with the specified tabs.
*
* @param {number[]} tabIds - The IDs of the tabs to move to the new window.
*
* @see {@link https://developer.chrome.com/docs/extensions/reference/api/windows#method-create}
* @see {@link https://developer.chrome.com/docs/extensions/reference/api/tabs#method-move}
*/
async function createWindowWithTabs(tabIds) {
if (!tabIds || tabIds.length === 0) return;
const newWindow = await chrome.windows.create({ tabId: tabIds[0] });
if (tabIds.length > 1) {
await chrome.tabs.move(tabIds.slice(1), { windowId: newWindow.id, index: -1 });
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions