extension: Use split incognito mode in Chrome

This commit is contained in:
nosamu 2022-10-03 19:06:22 -05:00 committed by Adrian Wielgosik
parent 0f30278e48
commit 7c3ddf2492
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ function transformManifest(content, env) {
/(script-src\s+[^;]*)(;|$)/i,
"$1 'wasm-eval'$2"
);
// Chrome runs the extension in a single shared process by default,
// which prevents extension pages from loading in Incognito tabs
manifest.incognito = "split";
}
return JSON.stringify(manifest);