From b02a4f73344a5887fb80c7411f77a32b31b036d4 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 12 Dec 2022 17:53:02 +0100 Subject: [PATCH] Add tolkai fix #1014 --- tarteaucitron.services.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 26231c4..2ba585b 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -105,6 +105,29 @@ tarteaucitron.services.calendly = { } }; +// tolkai +tarteaucitron.services.tolkai = { + "key": "tolkai", + "type": "other", + "name": "tolk.ai", + "uri": "https://www.tolk.ai/", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + + if (tarteaucitron.user.tolkaiBot === undefined) { + return; + } + + window.cfbot = tarteaucitron.user.tolkaiBot; + window.TcfWbchtParams = { behaviour: 'default' }; + window.display = 'iframe'; + tarteaucitron.addScript('https://script.tolk.ai/iframe-latest.js'); + } +}; + + // kwanko tarteaucitron.services.kwanko = { "key": "kwanko",