Jibri installation et configuration
This commit is contained in:
committed by
Antoine Ouvrard
parent
e13e25b1de
commit
81f81beb10
@@ -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)
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"3rdparty": {
|
||||
"extensions": {
|
||||
"gkaeknlffijmeakpmmeigddgjhiidhof": {
|
||||
"forcedCookies": [
|
||||
{
|
||||
"domain": "toto",
|
||||
"name": "toto name",
|
||||
"value": "toto value"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"forcedCookies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"domain": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"value": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user