GithubHelp home page GithubHelp logo

kemayo / firefox-sticky-containers Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 13.0 20 KB

Firefox extention to make the current container "sticky" when opening a new tab

License: Mozilla Public License 2.0

JavaScript 100.00%

firefox-sticky-containers's Introduction

Sticky Containers

Firefox extension to make the container of your current tab "stick" when you open a new tab, either via ctrl+t or by opening a link from outside Firefox.

The intent here is to mimic the behavior of Chrome when you're using its separate profile support.

Download

firefox-sticky-containers's People

Contributors

anewuser avatar kemayo avatar wishawa avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

firefox-sticky-containers's Issues

Forced to restart firefox if last container tab is closed

I guess this may be unique to OS X, where you can close the last tab, which closes the firefox window, without exiting firefox.

Method

  • With 1 open window, open a container tab.
  • Close other tabs.
  • Close container tab (this closes the window also)
  • Use keyboard shortcut to create new tab

Expected

  • New window and tab are created (like regular firefox, this still works with a non-container tab)

Actual

  • Window briefly appears then disappears again. Unclear if the new tab is closed or if something breaks when trying to a assign a container to it.
  • You can't do anything other than to quit firefox and restart it.

CTRL-T doesn't always open a new tab of the currently selected container type

Hi David - thanks for putting this add-on together!

I'm running Firefox 60.0.2 (64-bit) on Xubuntu 18.04 with firefox-sticky-containers 1.0.1. I need to find a simpler reproduction of the following bug, but for now, here's what I have.

I have two browser windows open, each with a selection of non-container tabs and container tabs; the container tabs in each window are of one type.

My first interaction with firefox-sticky-containers after install was to select a green container tab and then click a URL in the Telegram app from the PPA at http://ppa.launchpad.net/atareao/telegram/ubuntu. As expected, the URL opened in a the right window in a green container tab. Outstanding!

I next gave the other window (containing some red container tabs) focus, selected a container tab and issued CTRL-T.

The tab which opened was a non-container tab (in the browser window which had most recently had focus).

I expected CTRL-T to open a new red container tab in the current browser window.

I'm wondering if the fact that the very first thing I opened was an URL in an external app had something to do with it.

Unable to open new tab in 'No Container'

If i'm in a container-ized tab. And long-click the + (new tab button) and selected 'no container', a tab appears that is container-less. But as soon as I select a URL, the tab transforms into the container of the previously selected tab.

I was having trouble with certain add-ons that open urls with this.

Blacklisted Sites

It would be great if we could blacklist certain sites, in my case an extension site, to not open in sticky containers.

In Firefox 120 all pages open in a container

I have two windows, one without containers and one with a container. Since Firefox 120, when I open links from other applications in Firefox, it uses the container of the second window, even when the tab opens in the window without container. The issue started with the Upgrade from Firefox 119 to 120.

middle clicked links do not open in background

Without this extension loaded, a middle mouse button click on a link will open in a new tab and in the background, leaving focus on the current tab. With this extension enabled, it opens a new tab in the same container but switches to the new tab as well. The only way to prevent that is by holding control when hitting middle click.

Mozilla’s Recommended Extensions

Hi,

First, thanks a lot for your work! I cannot imagine using firefox without it.

Any hope to make it part of Mozilla’s Recommended Extensions program?

Screen Shot 2020-07-27 at 6 32 49 AM

Can't customise Firefox toolbar when on containerised tab

If the active tab is in a container when right-clicking the Firefox toolbar and selecting Customise... the toolbar customisation tab does not open and instead you get a blank tab.

If the active tab is a non-containerised tab then it works as expected.

Feels to me that this library should have a blacklist of internal URLs that should always be opened in no container.

Incompatability with "Simple Tab Groups"

I use Simple Tab Groups to switch between my tab groups. When your plugin is enabled, and I click "manage groups" in Simple Tab Groups, the window just continuously opens and closes until I close Firefox.

Incompatibility with Vim Vixen

If the Vim Vixen add-on is installed, two additional tabs are opened on Ctrl+t, both with the address "moz-extension://25d10456-7798-46db-820f-0305cac04a3d/build/console.html". Just typing t (in Vim mode) works fine.

Incompatible with Tree Tabs- loses tab order and tree structure

Mystery - - -
When you reopen a tab in container by RightClick top tab, Tree tabs opens the new orphan tab as a child of the active (old) tab (at the top of the children,works perfectly, and the tab order is preserved when the old tab is closed.

When Stickytabs addon does what must be exactly the same thing (imported/orphan tabs start off closed, then it opens them in selected container when they are clicked) - the resultant tab is moved to the top of the group???

The only possible reason I can see is maybe Stickytabs closes the original tab before opening the new one?

cf https://gitlab.com/kroppy/TreeTabs/issues/243

"Reopen in container > No container" isn't respected

The multi-account-containers add-on adds a right-click menu on a tab, to let you open it again in a different container. "Reopen in no container" is being treated the same as opening a new tab, and getting the current container applied.

So: work out how to tell when this happens, and ignore it.

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.