kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
411 stars 55 forks source link

Syntax to Assign Multiple Domains to Same Container? #121

Closed CrafterLaughter closed 4 years ago

CrafterLaughter commented 4 years ago

Forgive my ignorance. I daily use a site that uses single sign on and its control panel page is on a separate domain from its primary domain. Is this possible? If so, what is the correct syntax?

I tried the following thus far without success.

!.domain1.com, !.domain2.com , UniqueSingleSignOnContainerXYZ !.domain1.com,!.domain2.com , UniqueSingleSignOnContainerXYZ !.domain1.com; !.domain2.com , UniqueSingleSignOnContainerXYZ !.domain1.com;!.domain2.com , UniqueSingleSignOnContainerXYZ

edit: clarify uniqueness of container name

LoveIsGrief commented 4 years ago

Hmm.. don't you have the icon ? If you click on it, you won't need to edit the lines. Just click on the "+" and add the other website.

CrafterLaughter commented 4 years ago

@LoveIsGrief Your suggestion helped me think differently. Many thanks.

I had been just using containerise by always using the CSV editor but then realized the container dropdown in the top of the GUI which reminded me that's one way multiple domains could be added to the same container that way.

That made me realize I just need to use the same syntax in the CSV file but just make a point of referencing the same container name when adding multiple domains. I was foolishly thinking multiple domains linked to the same container would be noted on the same line. So it's as simple as follows on multiple lines.

E.G. !.google.com.com , GoogleSingleSignOnContainer !.gmail.com , GoogleSingleSignOnContainer !.youtube.com , GoogleSingleSignOnContainer

@LoveIsGrief @kintesh Thanks for all amazing contributions you guys have made to this extension!

LoveIsGrief commented 4 years ago

I'm glad you figured it out :+1:

Have a nice day :slightly_smiling_face: