Giter Site home page Giter Site logo

kintesh / containerise Goto Github PK

View Code? Open in Web Editor NEW
411.0 411.0 55.0 1.85 MB

Firefox extension to automatically open websites in a container

License: MIT License

JavaScript 84.28% HTML 4.72% CSS 1.26% SCSS 9.75%
firefox firefox-extension privacy security

containerise's People

Contributors

cromfr avatar dependabot[bot] avatar edwardgalligan avatar ethhics avatar kintesh avatar lisdude avatar loveisgrief avatar nepherte avatar real-or-random avatar shvchk avatar stoically avatar sveitser avatar switz 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

containerise's Issues

Startpage(s) not opened in defined containers

I have Firefox set up with a few startpages, but they do not open in their containers (simply the default one). Only if, after Firefox startup, I press the home button do they open in the right tab, or of course when I navigate there any other way.

Is this intentional or an oversight?

Feature request: don't replace the existing tab when changing containers

When a navigation event triggers a container change, the current tab is replaced with a new one and window.history is lost. This is kind of frustrating when I'm opening links from a search results page and I can't go back. Is it possible to always open a new tab if the new location is assigned to a different container?

Allow automatic backup of Containerise configuration list in text mode

Hi, here is a feature request.
Could there be a way to backup the containerise configuration in a text file each time it is updated, with a time stamp in the filename?
I'm asking this as I have tons of rules in Containerise, and it has already happened more than once that the config was lost or erased (sometimes because a context itself would just be removed by accident... then all rules linked to it would vanished as well)....
Of course, an option to trigger that behaviour would be better.
Thanks

Handle containers changing

Relying on container name is a little fragile and will require you to monitor for these changes in case people change their containers.

Personally I would be storing cookieStoreId in the format and allow the user to change the name which you can update whenever they click the browser action.

We now support in 57 onRemoved, onCreated and onUpdated to check for when containers are removed you likely will either want to use these or browser.contextualIdentities.get(cookieStoreId) before changing the tab in the code.

Check hacks.mozilla.org tomorrow as we are releasing a post about the latest container changes.

Allow assigning patterns to temporary containers

At the moment, I have to use Temporary Containers in addition to Containerise, but that is only because Containerise is missing the one feature I need from TO: temporary containers. It'd be awesome if I could e.g. create a rule like:

@(.+\.)*google(\..+)+ , TMP

which would then result in a new container be created every time I visit a matching website. The temporary containers would need to be cleaned up as well when the last tab is closed, and on domain change.

Use firefox sync

Would it be possible to use browser.storage.sync instead of browser.storage.local?

CSV Editor breaking Regex with length check

Hello,

The following regex will not work if saved in the CSV editor as when you click save, two spaces will be inserted before and after the comma. Such as this:

From:
@^https?://(.{1,15}\.)?(amazon\.co\.uk)$

To:
@^https?://(.{1 , 15}\.)?(amazon\.co\.uk)$

When saved in the normal view it will be saved correctly.

Default container for opened external links

External links are now opened in the same container you were in when clicking on the link, so for example if you have Google container, sites opened from search results page end up in Google container too. Would be nice to have an option to set default container (like No container or Untrusted or random new container (like with Click To Contain extension)).

Improve rules saving UX

Again, nice work :)

On my first tests to add a new rule I wondered about the save icon and expected my rule to be automatically saved once entered. So, I typed it and close the popup. After checking it was not saved so I add to do it again.

The save button would be better at the bottom of the rule fields like a form.

Addon does not work anymore...

Strange!
The addon has stopped working for me (I even tried going back to 2.0).
Still using last FF57 beta, but in the meantime I have added a lot of other addons. Could there be a conflict?
Nothing shows up in the error console.
Thanks

Opening in container based on Path doesn't work

I installed this addon because I would like to open example.com/foo/* in container A and example.com/bar/* in container B but I'm not able to get this to work.

As far as I understand it should be supported since #5.

I tried turning off all other extensions but that didn't help. For instance if I configure github.com/sveitser to open in the personal container it doesn't open in any container if I navigate there.

Using Firefox 61.0.1.

trigger container switch by domainchange

first of all, thank you so much for the great work.
I'm using the plugin to containerize facebook, additional to content blocking, so that it can not as easily follow me around.

Would it be possible to trigger container switches when switching domain (i.e. clicking on a link) so that the facebok cookie alwas remains isolated?

[Feature request] Add preference to choose matching hostname or complete URL

#4 Added matching the path component of the URL, which is not in the addon description and something I discovered while looking at the code.

I think it would be good to define in a preferences page whether the complete path or just the hostname should be considered for matching. The reason is partially because of #21 (regex support) which will make regexes like (yada|pop)\.somewhere\.test$ fail for urls like https://pop.somewhere.test/this/is/a/path .

[feature request] Allow Wildcarding

Example use case: send all Google domains to a specified container (play.google.com, inbox.google.com, mail.google.com, etc) by inputting "*.google.com , Google"

Is this possible with the current state of containers?

Do not erase entries with unexisting container names.

I have run into the following issue several times:

  • I had set up a lot of rules in Containerise
  • I played around with all my addons for various reasons, deactivating and reactivating them: this had the effect of resetting all containers to the 4 default ones.
  • next, when I opened Containerise again, only the rules linked to the default containers were still there. And I had to type everything again (I had no backup).

Would there be a way for Containerise to allow rules for non existing containers (that would not be applied of course)? This way, in case containers were reset, there would be no lost rules after recreating all containers.

Thanks

3.1.0 update breaks compatibility with Temporary Containers

Containerise was coexisting wonderfully with Temporary Containers for me until the 3.1.0 update, but the change to have "all unmapped urls now open outside of any container" seems to have broken the compatibility with TC's Isolation Mode.

Release a new version to AMO

Regex and glob support have been added as well as one or two bug fixes. It would great if we could get these on AMO

Cannot tell which container is in use on Android

I don't see any indication of which container is in use on Android, which makes it difficult to know if the extension is working as intended.

Am I missing something, or is this a feature that can be added?

Thanks.

Catch keyword-based searches

When using a smart keyword in the location bar to do a search, the used tab is not moved to the corresponding container, even if the tab is not in any container (I understand the behavior is expected if the tab is already in a container, as the container change also does not happen during normal navigation).

More flexible wildcards

Currently, the pattern *.ebay.* does not match any Ebay sites, only leading wildcards work. It would be great if this could be enabled, or even regular expressions supported.

[suggestion] Automatically group all domains of a cooperation

there are several container extensions on amo for twitter, google, facebook and so on. this is nice but it only helps with the big players and requires dedicated work. however they only important information to make those work is the list of domains for that container. those are chosen to include as little as needed to make their services work. a good estimate for that is to take all domains that are owned by that company. the problem now is how to create that list?

there was a project whichs goal was collecting and displaying exactly that information. it was called truthbot but unfortunately it is offline now. the source is still available though:

https://github.com/Jaxkr/Truthbot.org
https://github.com/Jaxkr/Truthbot-for-Chrome
there was also a firefox version in the works but it was never released.

if it was revived it could be used to collect and manage that information

Containerise ignores browser.tabs.loadDivertedInBackground

STR:

  • In about:preferences, make sure you have at least two containers set up (I'll call them A and B).
  • In about:config, set browser.link.open_newwindow.restriction to 0 and browser.tabs.loadDivertedInBackground to true.
  • From the Containerise menu, add github.com to the list for Container A and kinte.sh to the list for Container B.
  • From https://github.com/kintesh, middle-click (or Ctrl+click on Windows / Cmd+click on Mac) on the link to the Containerise repository. The link will open in a new tab in the background. This is the expected behavior.
  • Now middle-click on the link to http://kinte.sh. The link will open in a new tab, and the browser imediately focuses on that tab. This is not the expected behavior.

Don't open tab in a specific container if that tab is already in a container

My setup for e.g. Twitter would be:

  • I have two Twitter accounts
  • I have a specific container for my secondary Twitter account
  • I have a Twitter container defined in containerise

When I want to get to my secondary account, I open a new tab in the specific container for this account and go to twitter.com with it. However, since the URL matches twitter.com, it reopens the tab in the Twitter container, which has local storage, cookies, etc. for my primary account. This makes it impossible for me to access my secondary account.

It would be nice if containerise could (possibly as an opt-in option) check whether the new tab is already in a container, and if so, don't do anything.

Allow multiple containers for multiple logins

For example, I might have a work and a home Gmail account. As things are now, I can assign mail.google.com to the Work container, for example, but then I can't open it in the Personal container, as Containerise takes over and forces it into the Work container. What I'd like to be able to do is still have Work as default, but Personal as an "also allowed" option - so if I opened Gmail in the Personal container, it would stay in that container - but if I tried to open it in any other container, or in no container, Containerise would force it into the Work container (as it does now).

Latest Containerise (2.5.0) does not work well together with Temporary Containers

Hi
After today's update of Containerise (ver 2.5.0) the funny things happens when using also Temporary Containers ver (0.9.0)

Firefox 61.0.2, 64bit.
Windows 10, 64bit.

Steps to reproduce (no.1)

  1. In Containerise define *.github.com , GITHUB
  2. In "Temporary Containers" set Isolation->"Multi Account Containers" to Enable
  3. Click to open any github.com link from external program (I did from my email client)

Result:
The tabs start to spawn up indefinitely,

Expected result:
Only one tab should open

Steps to reproduce (no.2)

  1. In Containerise define *.github.com , GITHUB
  2. In "Temporary Containers" set Isolation->"Multi Account Containers" to Disable
  3. Click to open any github.com link from external program (I did from my email client)

Result:
Two (2) tabs opens,

Expected result:
Only one tab should open

Won't open mobile.twitter.com in container.

The rule is "*.twitter.com , Twitter". It doesn't open mobile.twitter.com in the Twitter container. Even explicitly adding "mobile.twitter.com , Twitter" as a rule doesn't work. Other mobile sites, e.g. mobile.facebook.com, seem to work fine.

Containerise blocks all page loads in latest Nightly

Hi,

I'm running Containerise v2.4.0 with Nightly 62.0a1 (2018-06-06) (64 de biți) and all pages do not load when I try to open a new page. I basically cannot use Firefox in this situation.

I tried to investigate with perf.html but I did not manage to get a lot of information.
Please tell me how I can troubleshoot this further.

I will stop using you extension until this gets fixed. This is not a small bug, it just makes my Firefox unusable :(

Double Open

I am opening some links in new tabs and find that it will open a container tab and then open another copy.

From playing around I think it is because I have the site setup in "Multi account containers" and "containerise". So when I go to that site I will get a tab from both.

All good when I take this out, maybe worth a mention in the docs?

Request: allow containerising at deeper level than hostname

It would be useful to be able to assign a container at a deeper level than hostname.
For instance, at parameters level, with Google Group as a use case.
I would like to open the 2 following groups (who belong to 2 different google accounts) in 2 different containers automatically:
https://groups.google.com/forum/?fromgroups#!managemembers/**_groupename1_**/members/active
https://groups.google.com/forum/?fromgroups#!managemembers/**_groupename2_**/members/active

Not sure where I should send the request to: Containerise addon, or Multi Container addon... :)
Thanks

If a websites URL does not begin with WWW, opening it in a Facebook container casues the container tab to open and close endlessly until forced to close

Hey, Kintesh! First, just let me thank you for this add-on. Being able to throw other sites that require Facebook log-ins into Mozilla's Facebook container has been a lifesaver.

But I ran into an issue with it and Containerise seemingly fighting over a URL's full address. I added a site earlier today to Containerise, to always open the Facebook container, something I've done several times before without issue. But when I went to load the page, instead of it loading, the tab began closing and opening endlessly until I had to force it to close. I tried again, with the same result.

I was confused at first, but checking the host/container list I noticed the one glaring difference between this site, and the others: it's URL does not begin with WWW. Typing it in will just redirect you right back to the URL without it. If that "www." is added to the front of the URL in Containerise, it will not attempt to load the site into a Facebook container as it sees them as two separate sites. However, removing the "www." from the URL creates this issue,

I've gone through the usual steps of ensuring it's not another add-on causing the issue, disabling all of them save for Multi-Account Containers (since FBC requires it), Facebook Container, and Containerise, and the issue still presented itself. I've tried to find other sites that have this same URL convention to test if it wasn't an issue with just this one site, but couldn't find another one after a few searches. So I can't say if it is just a site-specific problem or not, but it is something to keep in mind when trying to duplicate the issue.

I've attached a video of this occurrence so you could get an easier idea of how the issue plays out.

And, again, thank you for this add-on! Without it, I'd have had to ditch Facebook Container.

Screen_2018_04_19_21_03_52.zip

Open in background

Hi, great addon!, but please add option to open containers in background, it s a problem than always open in forward. Firefox 59.0.2 32 bit, browser.tabs.loadDivertedInBackground: true win 7 x86. (for example with extension "Temporary Containers by stoically", no problem with open in background) Sorry for my english I hope you can understand.
Cheers

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.