Browse Source

Add studizz

Amauri CHAMPEAUX 3 years ago
parent
commit
befa98d34e
1 changed files with 19 additions and 0 deletions
  1. 19 0
      tarteaucitron.services.js

+ 19 - 0
tarteaucitron.services.js

@@ -4865,3 +4865,22 @@ tarteaucitron.services.webtvnu = {
         });
     }
 };
+
+// studizz
+tarteaucitron.services.studizz = {
+    "key": "studizz",
+    "type": "other",
+    "name": "studizz",
+    "uri": "https://group.studizz.fr/",
+    "needConsent": true,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+
+        if (tarteaucitron.user.studizzToken === undefined) {
+            return;
+        }
+
+        tarteaucitron.addScript('https://webchat.studizz.fr/webchat.js?token=' + tarteaucitron.user.studizzToken);
+    }
+};