Open crssi opened 4 years ago
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. 😉
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 isaccounts.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