Add MTcaptcha
This commit is contained in:
parent
04b8286e31
commit
162efa9f20
|
|
@ -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');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue