Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard subdomains - e.g. *.google.com #1500

Closed
wants to merge 1 commit into from

Conversation

mckenfra
Copy link
Contributor


@dustymabe @groovecoder Per discussion on pull request #1475, I am resubmitting the pull request, having now rebased against the latest commits on master.


#473 Assign all subdomains of a domain to a container.

E.g. after adding www.google.com to a container, go to the edit container screen and click on the www part of the domain name to change it to ___.google.com. Then, any subsequent requests to subdomains such as mail.google.com, calendar.google.com or drive.google.com will all automatically open in the same container.

Unit tests included.

Subdomains

@groovecoder
Copy link
Member

Whoa this is a cool feature. I'm a bit worried that this UX is not intuitive, and concerned about the breakage and/or privacy + security risks if users accidentally do this.

I suppose breakage is un-likely, since an accidental wildcard assignment would make more sites share the same cookies.

So, then the question is: if someone accidentally assigns wildcard subdomains to a container - have they lost a significant amount of their protection? I don't think so. But is it easy to reverse this operation?

@mckenfra
Copy link
Contributor Author

mckenfra commented Oct 4, 2019

@groovecoder Glad you like it! :-) I've got this wildcard subdomains feature permanently installed (using my own build of the plugin).

You can reverse the wildcard by clicking on the wildcard subdomain again, like so:

wildcard

By the way, you guys did (and are still doing) a great job with the plugin - thanks a lot!

@dustymabe
Copy link

Can't wait for this to land!

@mckenfra mckenfra force-pushed the wildcard-subdomains branch from 9fa3ace to 7922a39 Compare December 30, 2019 18:09
@mckenfra
Copy link
Contributor Author

Can't wait for this to land!

@dustymabe Yes I agree, it's such a useful feature! I've just refactored the code to make it a bit clearer for others to review. I'm hoping this might persuade one of the core devs to finally agree to merge it in...!

@mckenfra mckenfra force-pushed the wildcard-subdomains branch 3 times, most recently from 9dfdc83 to eb285cc Compare December 31, 2019 20:19
@mckenfra mckenfra force-pushed the wildcard-subdomains branch from eb285cc to e6eff75 Compare January 15, 2020 15:52
@amoutiers
Copy link

Great, this is a missing feature for now ! Can a last reviewer review this ?

@jflattery
Copy link

Bummed this didn't make it in the release the other day. Can I help by completing a review or in some other way?

@bruvv
Copy link

bruvv commented Jul 21, 2020

please merge this since with the new feature that supports 'limit to designated tabs' when loading google stuff I end up in a tab loading loop :(

@tvanantwerp
Copy link

I need this feature so badly. Why is this PR nearly a year old? Is this project still maintained, or did Mozilla lay off all the maintainers?

@jflattery
Copy link

@jonathanKingston or @groovecoder What needs to be done to get this reviewed & merged?

@mckenfra
Copy link
Contributor Author

@jflattery Great that you want this feature. But have you tried Total Cookie Protection in Firefox 86? Maybe it means there is no longer such a strong need for this extension?

@jflattery
Copy link

Yes that is an awesome and welcome improvement to FF but it is only available to Strict mode if I'm not mistaken.

@mckenfra
Copy link
Contributor Author

Yes strict mode only. But you can add exceptions quite quickly by clicking the icon next to the location bar. It seems to work pretty well, and you know cross-site cookies are basically impossible unless you specifically allow them

@celluj34
Copy link

celluj34 commented Jun 2, 2021

IMO this feature would really simplify a lot of the myriad other "container" extensions (Amazon, Reddit, Facebook, etc).

@Nomes77
Copy link

Nomes77 commented May 2, 2022

When is this going to be implemented @groovecoder?

@Nomes77
Copy link

Nomes77 commented May 3, 2022

@mckenfra

I've got this wildcard subdomains feature permanently installed (using my own build of the plugin).

Where can I find it?
Can I install it as a .xpi file?

@mckenfra
Copy link
Contributor Author

mckenfra commented May 3, 2022

@mckenfra

I've got this wildcard subdomains feature permanently installed (using my own build of the plugin).

Where can I find it? Can I install it as a .xpi file?

@BPower0036 I could put up my own build of the plugin for you to test out, but I think Mozilla should maintain stewardship of the plugin. So my build would just be a temporary "proof-of-concept" for you to try out. Would that help? Unfortunately, before I can share my build I would first need to merge in the 2+ years-worth of changes that have been made since I submitted this pull request. This may take some time, as there will no doubt be merge conflicts etc.

@Nomes77
Copy link

Nomes77 commented May 3, 2022

@mckenfra A "proof-of-concept" would really help.
And yes I think Mozilla should maintain stewardship of the plugin, but as they do not seem to have interest in your PR, it looks like their is no other way.

@mckenfra
Copy link
Contributor Author

mckenfra commented May 4, 2022

@BPower0036 It ended up being easier to create an entirely new pull request, rather than trying to merge in 2+ years-worth of changes into the code for this pull request. See new pull request #2352 and I've put up a build for you to test out here

@Nomes77
Copy link

Nomes77 commented May 4, 2022

@mckenfra I can't thank you a 1000 times for your work!!
I have tested it works as needed. Thank you so much!!

@dannycolin
Copy link
Collaborator

Closing in favor of the v2 in #2352.

@dannycolin dannycolin closed this Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants