Add CollectChat fix #1030
This commit is contained in:
parent
104714a399
commit
333d6c5005
|
|
@ -32,6 +32,27 @@ tarteaucitron.services.iframe = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// collectchat
|
||||||
|
tarteaucitron.services.collectchat = {
|
||||||
|
"key": "collectchat",
|
||||||
|
"type": "other",
|
||||||
|
"name": "Collect Chat",
|
||||||
|
"uri": "https://collect.chat/privacy/",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
if (tarteaucitron.user.collectchatId === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
window.CollectId = tarteaucitron.user.collectchatId;
|
||||||
|
|
||||||
|
tarteaucitron.addScript('https://collectcdn.com/launcher.js');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// eulerian
|
// eulerian
|
||||||
tarteaucitron.services.eulerian = {
|
tarteaucitron.services.eulerian = {
|
||||||
"key": "eulerian",
|
"key": "eulerian",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue