diff options
| author | Samuel Trégouët <samuel.tregouet@nereide.fr> | 2021-04-28 15:43:34 +0000 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-04-28 15:43:34 +0000 |
| commit | 81f81beb106a49651d2765cf37c623e48b22e688 (patch) | |
| tree | c7b26e78b6962099696d0193df723b160f952b7d /roles/jibri-install/files/chrome-extension-cookie | |
| parent | e13e25b1dec2680e11fe0484e43e5d9807bd851a (diff) | |
Jibri installation et configuration
Diffstat (limited to 'roles/jibri-install/files/chrome-extension-cookie')
4 files changed, 80 insertions, 0 deletions
diff --git a/roles/jibri-install/files/chrome-extension-cookie/README.md b/roles/jibri-install/files/chrome-extension-cookie/README.md new file mode 100644 index 0000000..5259dba --- /dev/null +++ b/roles/jibri-install/files/chrome-extension-cookie/README.md @@ -0,0 +1,31 @@ +# extension chrome + +cette extension permet de forcer le positionnement de cookie + +il faut d'abord forcer l'installation de cette extension voir la documentation +sur [chromium](http://dev.chromium.org/administrators/policy-list-3#ExtensionInstallForcelist) + + +Puis il faut configurer l'extension via le fichier /etc/chromium/policies/managed/content.json +pour chromium (ou /etc/opt/chrome/policies/managed/managed_policies.json pour chrome) avec le contenu suivant: + +```json +{ + "3rdparty": { + "extensions": { + "gkaeknlffijmeakpmmeigddgjhiidhof": { + "forcedCookies": [ + { + "name": "rgpd", + "value": "nothing", + "domain": "visio.imio.be" + } + ] + } + } + } +} +``` + + +voir la documentation [ici](http://dev.chromium.org/administrators/configuring-policy-for-extensions) diff --git a/roles/jibri-install/files/chrome-extension-cookie/managed.json b/roles/jibri-install/files/chrome-extension-cookie/managed.json new file mode 100644 index 0000000..6ad11c2 --- /dev/null +++ b/roles/jibri-install/files/chrome-extension-cookie/managed.json @@ -0,0 +1,15 @@ +{ + "3rdparty": { + "extensions": { + "gkaeknlffijmeakpmmeigddgjhiidhof": { + "forcedCookies": [ + { + "domain": "toto", + "name": "toto name", + "value": "toto value" + } + ] + } + } + } +} diff --git a/roles/jibri-install/files/chrome-extension-cookie/manifest.json b/roles/jibri-install/files/chrome-extension-cookie/manifest.json new file mode 100644 index 0000000..94e0f9e --- /dev/null +++ b/roles/jibri-install/files/chrome-extension-cookie/manifest.json @@ -0,0 +1,18 @@ +{ + "name": "Force cookie extension", + "version": "1.0.0", + "description": "Will set cookie for particular domain", + "background": { + "scripts": ["background.js"], + "persistent": false + }, + "storage": { + "managed_schema": "schema.json" + }, + "permissions": [ + "storage", + "cookies", + "\u003Call_urls\u003E" + ], + "manifest_version": 2 +} diff --git a/roles/jibri-install/files/chrome-extension-cookie/schema.json b/roles/jibri-install/files/chrome-extension-cookie/schema.json new file mode 100644 index 0000000..e4d170a --- /dev/null +++ b/roles/jibri-install/files/chrome-extension-cookie/schema.json @@ -0,0 +1,16 @@ +{ + "type": "object", + "properties": { + "forcedCookies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "domain": { "type": "string" }, + "name": { "type": "string" }, + "value": { "type": "string" } + } + } + } + } +} |
