Add MTcaptcha

This commit is contained in:
Amauri CHAMPEAUX 2021-12-13 18:17:37 +01:00
parent 04b8286e31
commit 162efa9f20
1 changed files with 20 additions and 0 deletions

View File

@ -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');
}
};