/container-config

Primary LanguageTypeScriptISC LicenseISC

container-config

container-config is a helper script to configure Multi-Account Containers.

Usage

  1. Configure containers constant in script.ts.

  2. Generate javascript.

    npx tsc
  3. Open the Multi-Account Containers debugger (about:devtools-toolbox?id=%40testpilot-containers&type=extension).

  4. Paste the generated javascript code in script.js into the debugger and run it.

Configuration

  • color: string. The color for the identity. See the MDN docs for supported values.
  • icon: string. The icon for the identity. See the MDN docs for supported values.
  • isolate: boolean. If the MAC Limit to designated sites checkbox should be checked.
  • URLs: Map<string, boolean>. Map with URLs for keys (e.g. https://example.com) and values correspond to the Remember my decision for this site checkbox.

Example

		['Github', {
			color: 'green',
			icon: 'circle',
			isolate: true,
			URLs: new Map([
				['https://github.com', false],
				['https://gist.github.com', false],
			]),
		}],