multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Manually add URL's to a container

Open TriMoon opened this issue 4 years ago • 56 comments

  • Multi-Account Containers Version: 6.2.3
  • Operating System + Version: Kubuntu 19.10
  • Firefox Version: Nightly Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 ID:20200229214828
Other installed Add-ons + Version + Enabled/Disabled-Status (Click to expand/hide)

About Sync 0.0.51 Amazon.com 1.1 Authenticator 6.0.1 Awesome RSS 1.3.5 Bing 1.1 CanvasBlocker 1.1 [DISABLED] Certainly Something (Certificate Viewer) 1.2.3 Compat Report 0.1.0 Containers theme 1.0.3 [DISABLED] Context Plus 0.6.0 Debian queries 2.3 Decentraleyes 2.0.13 Disconnect 5.19.3 [DISABLED] DuckDuckGo 1.0 DuckDuckGo Privacy Essentials 2019.12.12 [DISABLED] Emoji Cheatsheet for GitHub, Basecamp etc. 2.0.1 Enhancer for YouTube™ 2.0.99 Enterprise Policy Generator 5.1.0 [DISABLED] Feedbro 4.0.3 Firefox DevTools ADB Extension 0.0.5 Firefox Lightbeam 2.1.0 Firefox Multi-Account Containers 6.2.3 FoxyProxy Standard 7.4.3 Google 1.0 Greasemonkey 4.9 HTTP/2 Indicator 3.0 IPFS Companion 2.10.0 Laboratory 3.0.7 [DISABLED] MathML Font Settings 0.3.2 Native MathML 1.9.4 Nightly Tester Tools 4.0 Notes by Firefox 4.3.5 [DISABLED] Offline QR Code Generator 1.6 PassFF 1.9.1 [DISABLED] Plasma Integration 1.7 ProtonDB for Steam 1.6.0 React Developer Tools 4.4.0 [DISABLED] Session Sync 3.1.12 Snooze Tabs 1.1.1 Tab Session Manager 5.2.0 [DISABLED] To Google Translate 4.0.6 Tree Style Tab 3.3.6 True Sight 1.7.1 Twitter 1.0 Vue.js devtools 5.3.3 Wikipedia (en) 1.0 YouTube Container 1.3.0 eBay 1.0 uMatrix 1.4.0

Actual behavior

No way to add redirecting URL's.

  • If you DON'T FORGET TO DO THIS EVERY TIME:
    • Only way at moment is to use right-click and choose a container.
    • Else you are screwed...

Expected behavior

To automatically open known redirect URI's we need a EASY way to add them to a container. Sometimes you want to catch redirect links, to force them to always open in a certain container before the browser navigates to the destination of the link. For this purpose we NEED a way to manually add URL's to a container of choice !

Steps to reproduce

  1. Try to add a rule using the UI for links like https://go.microsoft.com/fwlink/?LinkID=xxxxx&wt.mc_id=fuckmedead
  2. Stuck because there is no way.
  3. Write bug report on github, like i do now :wink:

Notes

Related issues: #719, #837, #839, #1057, #1075, #1180, #1335, #1317 and maybe many more im tired search now...

TriMoon avatar Mar 01 '20 14:03 TriMoon

Yes please, this would make the extension amazing!

I want to be able to add amazon iam-account login links to containers, but they are redirects, which means there is no moment to intercept it and add as "always open" in a selected container.

This would allow me to:

setup:

  • create new AWS IAM user, store the login link (which has account ID in its url) and login credentials to LastPass
  • create a new Firefox Container for that AWS account, add the login link as always open in this container

usage:

  • open LastPass window, search for the AWS account I want to log into, click the item
  • LastPass opens the login link
  • Firefox Containers intercepts the link and opens it appropriate container (to prevent login conflicts)
  • LastPass fills in login credentials
  • I submit the login form and I'm in the correct AWS account

fprochazka avatar Mar 05 '20 13:03 fprochazka

Hi @kendallcorner, can you assign this issue to me?

sherry13131 avatar Mar 05 '20 17:03 sherry13131

Further to this: The settings of 'limit to designated sites' in NOT currently synced. The site list is, but it is needed to tick the box again on new instance of Firefox. It would be very useful to synchronize this as well. And I support the idea of having option to import/export/ settings = managing it by file, which may then be on a repo and thus having the ability to declaratively set the state. I already have quite a number of containers, so having the option to manage it by script (json) and having it backed-up on git would be nice.

AdamJel avatar Aug 13 '20 05:08 AdamJel

I believe this would be better served by being added to Firefox, on the Options page, rather than in the tiny extension pop-up menus. This way we can have a large text box that we can edit and copy/paste into. This would also make moving container assignment to new profiles a matter of copy/pasting.

B00ze64 avatar Aug 13 '20 05:08 B00ze64

I believe this would be better served by being added to Firefox, on the Options page, rather than in the tiny extension pop-up menus. This way we can have a large text box that we can edit and copy/paste into. This would also make moving container assignment to new profiles a matter of copy/pasting.

Imagine you have 100+ containers. Then the matter of copy/pasting is not a pleasant option. On the other hand, one text file, beiing yaml, json or whatever, is easy enough.

And these two options dont exclude one another. It may be, that the window for copy pasting is just a gui for that text file.

For me, it would be extreamly pleasant to have just one descriptive text file and option to point extension to that file to load and set all containers, site lists included.

AdamJel avatar Aug 13 '20 06:08 AdamJel

I agree with you. Never occurred to me someone would have that many containers lol, but of course Export/Import would be awesome. Right now settings are stored in IndexedDB. You can move that around (storage folder,) but because of ID's etc, it will probably not work in another profile. I still would appreciate a nice textbox, preferably in the options, where I can quickly add and remove stuff from within the browser, by just typing domains, and copy/paste stuff between containers etc. But if Import/Export uses yaml, json or whatnot that will do fine, we can edit that easily enough!

B00ze64 avatar Aug 14 '20 03:08 B00ze64

https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/ handles this pretty well, and you can use a regex string too.

[EDIT to fix url]

jeremymeyers avatar Sep 18 '20 00:09 jeremymeyers

@jeremymeyers I think your link got wrong-linked...

xdhmoore avatar Sep 18 '20 01:09 xdhmoore

@xdhmoore my bad. fixed now.

jeremymeyers avatar Sep 18 '20 04:09 jeremymeyers

I am struggling with this because of redirects... It would be awesome if we could do it, as well as allowing wildards such as *.aliexpress.com

hmlendea avatar Jan 05 '21 15:01 hmlendea

#839

@TriMoon we have triplication of issues. Please, can you close this one? Leaving the automated cross-references in the earlier issues. Thank you.

grahamperrin avatar Apr 23 '21 21:04 grahamperrin

I have mistakenly posted a similar proposal to bugzilla.mozilla.org. The full text can be read at the link I gave. In general, I support the proposal to add the ability to add dozens and hundreds of domains with all subdomains to containers in the same way as it is done with custom filters in ad blockers.

Korb avatar Jun 01 '21 19:06 Korb

I'm surprise to find this isn't a feature, could have a simple check box "always open this site in this container". Seriously, who on earth would want to manually select containers every time they open a new tab?

comrademmirg avatar Jun 19 '21 23:06 comrademmirg

Why has this been waiting so long? IT doesn't sound like there's disagreement with the proposal, and @sherry13131 offered to work on it.

mc0e avatar Jun 27 '21 13:06 mc0e

#839

@TriMoon we have triplication of issues. Please, can you close this one? Leaving the automated cross-references in the earlier issues. Thank you.

There is a reason why issues stay open, even if duplicates exist. (In which case it shows how wanted it is)

So I politely decline your request 😉

TriMoon avatar Aug 14 '21 11:08 TriMoon

@trimoon I desperately need this feature myself, but forking the commentary among many issues actually hurts rather than promotes it.

I can tell you from experience working on other projects that have many live bugs referring to the same underlying problem is TERRIBLE; it saps time and energy just dealing with bug triaging, leaving less and less time to work on fixing it.

If you want to make a bug more likely to be worked on, make it easier for prospective fixers to deal with the reports: add your comments to the existing bug, don't create new ones. Or if you have some variation that you think warrants a separate issue, and put detailed cross notes with the reference in the main issue, so that the coder who works on fixing it can see whether it's worthwhile reading the other bug to get some detail.

One bug report or feature request with 100 comments will be much more likely to get fixed that 3 bug reports with 33 comments each. And 3 bug reports with 100 comments are just going to annoy the fixer for wasting their time.

If it's so important to you that it transcends normal etiquette and good manners when dealing with volunteers, consider volunteering yourself to fix it.

kurahaupo avatar Aug 27 '21 21:08 kurahaupo

I note that issue #1833 is currently pinned, so it's much more likely to receive attention than any of these related bugs.

kurahaupo avatar Aug 29 '21 06:08 kurahaupo

I note that @sherry13131 did work on it and appears to have, if not a complete solution, at least a step in the right direction. However the PR has gone stale for 16 months and so I've rebased it against today's master and re-submitted it as PR #2114.

kurahaupo avatar Aug 29 '21 14:08 kurahaupo

Please provide this functionality to manually add a URL to a container. Here is my config:

  • Firefox 95.0 (64-bit)
  • MAC 8.0.3
  • macOS monterey 12.0.1 on M1

sshquack avatar Dec 13 '21 19:12 sshquack

Additional Vote For Functionality

I also would absolutely like this functionality.

FF 99 Nightly Win 10, Linux (i know) - Latest

I would also suggest the ability for other add-ons to address this one simply via API. So that programs such as firewalls, or script blockers like noscript, can assist in management of sites, and provide even deeper sandboxing of scripts and more per container.


The IndexedDB Database

Where is this IndexedDB file, and can I easily edit it in DB Browser (SQLite) or something? (as a scrappy workaround) I've had a look around (including the XPI) and can't find anything obvious.

Also, I have what I would've thought as more containers than most. Were 'ABE' still a thing in noscript (it will be again), I'd wholly like to have that and containers fully syncopatio.

I agree with you. Never occurred to me someone would have that many containers lol, but of course Export/Import would be awesome. Right now settings are stored in IndexedDB.

MadManMoon avatar Feb 15 '22 13:02 MadManMoon

Never occurred to me someone would have that many containers

The only reason I don't have hundreds of site specific containers is because of the awkwardness of the interface for making them work. This issue is a prime example.

I'd love it if I could have site-specific containers be the default, and created automatically, though I'm sure there would be many issues to work through.

mc0e avatar Feb 16 '22 13:02 mc0e

It's baffling how this is not implemented yet...

Genda1ph avatar Jun 02 '22 18:06 Genda1ph

@kurahaupo Hi, has there been any update on this issue?

tsids avatar Jul 08 '22 02:07 tsids

@Shadowfire-Elite I have recently rebased my PR #2114 yet again, as it was 300+ commits out of date.

It's pending approval, but so far nobody has seen fit even to comment, much less explain the lack of approval.

I suspect it might require some regression tests to be added, but I have no idea how to do that. If anyone has any ideas on how to do that, that would be much appreciated.

kurahaupo avatar Jul 08 '22 12:07 kurahaupo

Can sites be generalized to url patterns/prefixes?

Use case: AWS Console access via SSO

creates links to the management console in all accounts and permission sets i have access to in that SSO/Org https://myorg.awsapps.com/start/#/saml/custom/1234567890

I'd like to be able to assign each account to different container rather than choosing it manually every time

mrgum avatar Sep 02 '22 13:09 mrgum

Can sites be generalized to url patterns/prefixes?

Use case: AWS Console access via SSO

creates links to the management console in all accounts and permission sets i have access to in that SSO/Org https://myorg.awsapps.com/start/#/saml/custom/1234567890

I'd like to be able to assign each account to different container rather than choosing it manually every time

I had to use Containerise in conjunction with Firefox MAC to achieve this. Azure AD example:

account.activedirectory.windowsazure.com/applications/signin/<prod-application-id> , AWS  Prod
account.activedirectory.windowsazure.com/applications/signin/<nonprod-application-id> , AWS  Nonprod
etc
etc

rymancl avatar Sep 02 '22 15:09 rymancl

I use the Open external links in a container extension for this. You need to specify the Url in this format: ext+container:name=MyContainer&url='http://whatever'.

So, for example, I have this as the bookmarked Url for Microsoft 365 admin center: ext+container:name=Work+Admin&url=https://admin.microsoft.com/AdminPortal/Home#/homepage Clicking on the bookmark opens this in the "Work Admin" container.

rakheshster avatar Sep 02 '22 16:09 rakheshster

What's keeping this feature from being implemented? It's in the top three most commented issues and the related issue (#473), which is also in the top three, also hasn't been implemented. Having to use the two or three other container addons has been a huge waste of time as they still don't fix what problems that are integral to the purpose of containers. It's been almost two years -- are containers obsolete? Is that why it hasn't happened and I just missed it?

ReticentAdjutant avatar Jan 08 '23 22:01 ReticentAdjutant

I just came here to open exactly this feature request.

It's a major restriction that I can't manually edit the site list. For sites that redirect between subdomains frequently (think Google), this makes it cumbersome (sometimes impossible) to use the "Limit to designated sites" setting.

Related & dupes:

  • https://github.com/mozilla/multi-account-containers/issues/839
  • https://github.com/mozilla/multi-account-containers/issues/719
  • https://github.com/mozilla/multi-account-containers/issues/2378
  • https://github.com/mozilla/multi-account-containers/issues/2271
  • https://github.com/mozilla/multi-account-containers/issues/1991
  • https://github.com/mozilla/multi-account-containers/issues/640
  • https://github.com/mozilla/multi-account-containers/issues/691
  • https://github.com/mozilla/multi-account-containers/pull/2352

xanoni avatar Jan 09 '23 05:01 xanoni

https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/ handles this pretty well, and you can use a regex string too.

[EDIT to fix url]

This looked promising on first sight, has someone else tried this and can confirm it works well with this Multi Account Containers extension?

xanoni avatar Jan 09 '23 06:01 xanoni