extension: Use split incognito mode in Chrome
This commit is contained in:
parent
0f30278e48
commit
7c3ddf2492
|
@ -39,6 +39,10 @@ function transformManifest(content, env) {
|
||||||
/(script-src\s+[^;]*)(;|$)/i,
|
/(script-src\s+[^;]*)(;|$)/i,
|
||||||
"$1 'wasm-eval'$2"
|
"$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);
|
return JSON.stringify(manifest);
|
||||||
|
|
Loading…
Reference in New Issue