kintesh / containerise Goto Github PK
View Code? Open in Web Editor NEWFirefox extension to automatically open websites in a container
License: MIT License
Firefox extension to automatically open websites in a container
License: MIT License
Cyberfox 52.7.2 (64-bit) no icons showing and nothing can be saved.
https://i.imgur.com/ccajHYR.png
the grey bar you can see just keeps sliding along.
Please keep 'us' alternative users in mind , I can use my unsigned plugins in Cyberfox
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?
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?
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
It would allow much more flexibility.
It would really nice if containerise could customize container color and logo within its rules. For example syntax could be github.com, github, blue, circle
to specify blue circle icon for github container.
I have mozilla.org mapped to my personal container.
If I open a mozilla.org page from some non-mapped page like DuckDuckGo with ctrl+click it will auto select the next page. https://vimeo.com/265791931
I expect the search page to still be selected.
the drop down box should automatically select the container the current tab is using if aplicable.
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.
when managing the domains of a container there should be a button to easily add the domain of the website in the active tab.
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.
Would it be possible to use browser.storage.sync
instead of browser.storage.local
?
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.
Now internationalized domain names like тест.рф
are ignored and have to be converted to punycode (тест.рф
→ xn--e1aybc.xn--p1ai
) to work. As punycode is not human-readable, it is very easy to make a mistake adding or changing such domains. Would be nice to be able to add and list domains in Unicode instead of punycode.
punycode.js might be of help.
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)).
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.
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
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.
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?
Might this become an option?
Please compare with:
– with (from me):
… I imagine that in a majority of cases, it will be sane to enforce non-containment of
about:
… URLs.
#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 .
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?
I have run into the following issue several times:
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
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.
Follow-up to 84cb641#commitcomment-29214740
Versions 2.4.0 and 2.5.0 do seem to work (at a glance) with Waterfox 56.2.3, which falls below the strict minimum version. Also, at https://addons.mozilla.org/addon/containerise/versions/:
Works with Firefox for Android 57.0 and later, Firefox 57.0 and later
Please, should I be aware of any particular risk/problem when mixing 2.5.0 with Waterfox 56.2.3?
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
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.
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).
FFv67
When the Containerise icon/button is pinned to the overflow menu, clicking on it brings up a blank menu rather than the actual menu
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.
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
github.com
to the list for Container A and kinte.sh
to the list for Container B.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.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.I can't seem to make Containerise trigger on local file URL's.
e.g. file:///Users/pj/Desktop/foo.html
My setup for e.g. Twitter would be:
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.
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).
Hello,
Can you add the ability to create personnal containers ?
Thanks
Hi, nice addon!
On my first use, I was expecting the add new rule feature to suggest the current URL or FQDN I was visiting.
This will reduce friction for users.
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)
*.github.com , GITHUB
Result:
The tabs start to spawn up indefinitely,
Expected result:
Only one tab should open
Steps to reproduce (no.2)
*.github.com , GITHUB
Result:
Two (2) tabs opens,
Expected result:
Only one tab should open
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.
Hi,
@shvchk asked if it would be possible to support your Add-on in combination with mine here: stoically/temporary-containers#15
For that to work properly I'd need an API to ask your Add-on whether a specific URL is assigned. Here's how Multi-Account Containers is doing it: mozilla/multi-account-containers#1130 (comment)
Would you be up to implement something like that or accept Pull requests implementing it?
Best regards
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 :(
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?
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
There seems to be an issue with web.whatsapp.com
.
Could you have a look on that?
Observed under v2.1.0 on FF 57.
something.com
aaaa.something.com
something.com
and aaaa.something.com
exist now.
Here's a video thereof.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.