temporary-containers icon indicating copy to clipboard operation
temporary-containers copied to clipboard

UI to autogenerate per domain configs with exclusion patterns

Open foxdan opened this issue 4 years ago • 0 comments

Using the add-on in automatic mode there are several SSO and payment type redirects I need to maintain exclusion patterns for.

Without needing to change core behaviour it would be useful to have a page with a form in the UI that would populate or create these relationships from groups.

A simple example:

Global

  • *.paypal.com
  • *.okta.com

Grouping

  • github.com
  • circleci.com

Grouping

  • jlcpcb.com
  • *.jlcpcb.com
  • easyeda.com
  • *.easyeda.com

This would logically do something like:

foreach pattern in global_group
    preferences.isolation.global.excluded += pattern
    preferences.isolation.domain.$pattern.navigation.action = never

foreach grouping in groupings
    foreach pattern in grouping
        others = grouping - pattern
        preferences.isolation.domain.$pattern.excluded = others

There's probably a better way to do this particularly around the global group such as storing the original domain redirected away from and allowing a redirect back to the origin domain.

P.S. Thank you for continuing to maintain this addon, it's something so essential to the container concept it's a glaring omission from FF itself.

foxdan avatar Aug 28 '20 02:08 foxdan