You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you extend the Domain Pattern in the Isolation -> Per Domain to accept comma separated multiple domains.
Could you add just under Domain Pattern the comma separated list of excepted domains of the Domain Pattern.
For example:
I would always like to open google.*, its subdomain and youtube.com in a new container (<- where trailing * means TLD, like goole.com, google.co.uk...)
But not when Target domain is accounts.google.com or accounts.youtube.com
So the config should say: Domain Pattern = google.*, *.google.*, youtube.com, *.youtube.com Domain Pattern Exception = accounts.google.com, accounts.youtube.com
Cheers
The text was updated successfully, but these errors were encountered:
Sounds like a good suggestion, I think #397 would cover that pretty good as well. A workaround to get that behavior now would be a regexp pattern like this (these also work for exclusion patterns):
/https?://(.+\.)?google\.([^.]+|co\.uk)($|/.*)/
(the co.uk is needed for TLDs with dots in them, so everything without dots like .com is covered)
If I can help with regexp, let me know - could also hop into #tmp:mozilla.org :D
The regex is not a problem.
ATM I have /^https?:\/\/(?=(.+\.)?(google|youtube)\.([^.]+|co\.uk)\/)((?!accounts\.?(google|youtube)\.([^.]+|co\.uk)\/)).*$/.
But is not really good TLD solution... and Regex is complicated and eye hurting. 😉
stoically
changed the title
[Feature suggest] Isolation -> Per Domain
[Feature suggest] Isolation -> comma separated domain patterns
Jun 10, 2020
Hi @stoically
Domain Pattern
in theIsolation -> Per Domain
to accept comma separated multiple domains.Domain Pattern
the comma separated list ofexcepted
domains of theDomain Pattern
.For example:
I would always like to open
google.*
, its subdomain andyoutube.com
in a new container (<- where trailing*
means TLD, likegoole.com
,google.co.uk
...)But not when Target domain is
accounts.google.com
oraccounts.youtube.com
So the config should say:
Domain Pattern
=google.*, *.google.*, youtube.com, *.youtube.com
Domain Pattern Exception
=accounts.google.com, accounts.youtube.com
Cheers
The text was updated successfully, but these errors were encountered: