From 162efa9f20fe44ee5f99116d9c7569dd1412f093 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 13 Dec 2021 18:17:37 +0100 Subject: [PATCH] Add MTcaptcha --- tarteaucitron.services.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index fa3b0a7..b7b1753 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -4952,3 +4952,23 @@ tarteaucitron.services.m6meteo = { } }; +// mtcaptcha +tarteaucitron.services.mtcaptcha = { + "key": "mtcaptcha", + "type": "api", + "name": "MTcaptcha", + "uri": "https://www.mtcaptcha.com", + "readmoreLink": "https://www.mtcaptcha.com/faq-cookie-declaration", + "needConsent": true, + "cookies": ['mtv1Pulse','mtv1ConfSum','mtv1Pong'], + + "js": function () { + + window.mtcaptchaConfig = { + "sitekey": tarteaucitron.user.mtcaptchaSitekey + }; + + tarteaucitron.addScript('https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js'); + tarteaucitron.addScript('https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js'); + } +};