diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-01-07 11:19:19 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-01-07 11:19:19 -0200 |
commit | 88446ec9c99300661b9edb94d82557be5e66c8e7 (patch) | |
tree | 371901cd5132606e793e4e8d370ef1edc4d691a2 | |
parent | f42f9aecdb381b376737e59e20fff01fb04f38bf (diff) | |
download | utils-x11-88446ec9c99300661b9edb94d82557be5e66c8e7.tar.gz utils-x11-88446ec9c99300661b9edb94d82557be5e66c8e7.tar.bz2 |
Adds --site-per-process into chromium wrappers
-rwxr-xr-x | chromium-extensions | 3 | ||||
-rwxr-xr-x | chromium-incognito | 5 | ||||
-rwxr-xr-x | chromium-profile | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/chromium-extensions b/chromium-extensions index 7fdd0e9..221f061 100755 --- a/chromium-extensions +++ b/chromium-extensions @@ -1,8 +1,9 @@ # # Wrapper around chromium to enable extensions # See https://wiki.debian.org/Chromium#Extensions +# https://www.chromium.org/Home/chromium-security/site-isolation # if which chromium 2> /dev/null; then - CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium $* + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --site-per-process --enable-remote-extensions" chromium $* fi diff --git a/chromium-incognito b/chromium-incognito index 9af8e78..1b97d7f 100755 --- a/chromium-incognito +++ b/chromium-incognito @@ -1,7 +1,8 @@ # -# Wrapper around chromium +# Wrapper around chromium for incognito mode +# https://www.chromium.org/Home/chromium-security/site-isolation # if which chromium 2> /dev/null; then - chromium -incognito + chromium --incognito --site-per-process fi diff --git a/chromium-profile b/chromium-profile index 5587825..07c7428 100755 --- a/chromium-profile +++ b/chromium-profile @@ -2,6 +2,7 @@ # Wrapper around chromium to enable extensions # See https://wiki.debian.org/Chromium#Extensions # https://www.chromium.org/developers/creating-and-using-profiles +# https://www.chromium.org/Home/chromium-security/site-isolation # Check if [ -z "$1" ]; then @@ -15,5 +16,5 @@ if which chromium 2> /dev/null; then mkdir -p "$PROFILE" shift - CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $* + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --site-per-process --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $* fi |