chrome-NewWindowWithTabsToRight
chrome-NewWindowWithTabsToRight copied to clipboard
Add Shortcut to Open Current Tab and Tabs to the Right in Separate Maximized Windows
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:
- https://developer.chrome.com/docs/extensions/mv2/reference/windows#type-Window
-
state: WindowState` The state of this browser window.
-
- https://developer.chrome.com/docs/extensions/mv2/reference/windows#type-WindowState
-
The state of this browser window.
-
- "normal": Normal window state (not minimized, maximized, or fullscreen).
- "minimized": Minimized window state.
- "maximized": Maximized window state.
- "fullscreen": Fullscreen window state.
- "locked-fullscreen": Locked fullscreen window state. This fullscreen state cannot be exited by user action and is available only to allowlisted extensions on Chrome OS.
-
- https://developer.chrome.com/docs/extensions/mv2/reference/windows#method-create
-
Creates (opens) a new browser window with any optional sizing, position, or default URL provided.
-
state: WindowStateThe initial state of the window. Theminimized,maximized, andfullscreenstates cannot be combined withleft,top,width, orheight.
-
- https://developer.chrome.com/docs/extensions/mv2/reference/windows#method-update
-
Updates the properties of a window. Specify only the properties that to be changed; unspecified properties are unchanged.
-
This is the extension code that currently (in the MV3 version of the extension at least, see https://github.com/0xdevalias/chrome-NewWindowWithTabsToRight/issues/13 , https://github.com/0xdevalias/chrome-NewWindowWithTabsToRight/pull/20) handles creating a new window:
https://github.com/0xdevalias/chrome-NewWindowWithTabsToRight/blob/6c348cc2e28c2d96eef105df3b3e3574c128ad89/src/service_worker.js#L154-L169