Giter Site home page Giter Site logo

movetabtonextwindow's Introduction

Move Tab to Next Window browser extension

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.

Screenshot

Quick feature list

  • 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

Technologies used

  • 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

Contributions are welcome

Prerequisites:

  • Node and NPM
  • VS Code (recommended)

How to contribute:

  • fork the project
  • npm install
  • npm run dev-ff or npm run dev-chrome, load unpacked extension from dist directory.
  • make changes, open a PR

movetabtonextwindow's People

Contributors

dependabot[bot] avatar rshev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

movetabtonextwindow's Issues

_Open_TabToNextWindow

This is a suggestion for a similar Firefox Addons.
The current addon moves a tab that is already opened. I'd like to open a new tab in the next window with a shift+click (or other modifier key).

The great advantage is while using 2 monitors:
eg. I'm reading the wikipedia webpage about Italy on my left monitor. I want to quickly open (shift+click) the link to Rome in a previous opened window that stays in the right monitor.
I don't want to wait that the Rome webpage is loaded, or focus on another tab and move it. I want to continue reading the Italy webpage on my left monitor. When the webpage on the right monitor is loaded, I can look at it.

Thank you for your time, I really appreciate your work :)

Extension button no longer working in Chrome

Starting to day my button isn't working anymore in Brave ([Version 1.49.132 Chromium: 111.0.5563.147 (Official Build) (arm64)])
When clicking the button there's no action, when I right click and go to move to next window it brings me to the github.

Feature Suggestion

I would love to be able to move all the Selected Tabs, not just the Active Tab.

Cheers!

Some tabs are stuck in a final window

Seems this complaint already exists on the store reviews

The tabs can only move in one direction. From window 1 to 2 to 3. You can't move them from 3 to 1. Last window is the terminal stop. Using on Chrome version 123.0.6312.87.
I think I know why it gets stuck on a window
I think it's because of special windows - that cannot take a tab. The list of windows needs to filtered for 'normal' windows, like:
let normalWindows = windows.filter(win => win.type === "normal");

For me, I see that in windowA clicking the extension does nothing, while in windowB clicking the extension sends the current tab to windowA.

Feature request: Ability to move tab to window logged into another profile

I regularly have Chrome windows logged in to two different profiles (when I'm at work - my work profile and my personal one, each with a different set of bookmarks, etc.). On occasion it would be nice to be able to move a tab from my work profile window to my personal profile window (or vice versa). Currently this extension will not do that, so I'm requesting that functionality be added.

not working with PWAs or other standalone sites

take https://devdocs.io/ as an example, it can be installed as an app and when launched Chrome opens an installed web app as its own top level app on macOS/Windows/etc.

while using said apps I find this extension often doesn't work, maybe it is trying to move my current tab to a window of a web app that it can't be moved to (you can only open things on that domain in the same installed web app so something on github.com can't be moved to a standalone installed web app for photos.google.com, etc.)

otherwise I really like how simple and effective this extension is; thanks!

I cannot even install it, browser says add-on is damaged

OS: macOS 10.14.6 Mojave
Browser: Firefox v115.2.0esr

When I try to install it, a red warning shows up telling add-on is damaged and cannot be installed. The exact text is:

"The installation was aborted because the plug-in seems to be corrupted." (translated from Spanish) Find attached a capture.

Saluditos,

Ferrán.

imagen

Feature request: Create window in the other display

When there's only one window open in the main display (say my laptop screen), i very often want to move a tab to a new window and move the window to my secondary display (monitor screen for example). Doing this requires 2 steps now. A setting can be added to extension to do this in one step

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.