171 lines
5.4 KiB
JavaScript
171 lines
5.4 KiB
JavaScript
/* WP */
|
|
function turnstileWPCallback() {
|
|
document.querySelectorAll('#wp-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
function turnstileCommentCallback() {
|
|
document.querySelectorAll('.cf-turnstile-comment').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Woo */
|
|
function turnstileWooLoginCallback() {
|
|
document.querySelectorAll('.woocommerce-form-login__submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
function turnstileWooRegisterCallback() {
|
|
document.querySelectorAll('.woocommerce-form-register__submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
function turnstileWooResetCallback() {
|
|
document.querySelectorAll('.woocommerce-ResetPassword .button').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* EDD */
|
|
function turnstileEDDLoginCallback() {
|
|
document.querySelectorAll('#edd_login_submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
function turnstileEDDRegisterCallback() {
|
|
document.querySelectorAll('#edd_register_form .edd-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* PMP */
|
|
function turnstilePMPLoginCallback() {
|
|
document.querySelectorAll('#wp-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Elementor */
|
|
function turnstileElementorCallback() {
|
|
document.querySelectorAll('.elementor-form button[type="submit"]').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Kadence */
|
|
function turnstileKadenceCallback() {
|
|
document.querySelectorAll('.kb-adv-form-submit-button, .kb-submit-field .kb-button, .kb-form-submit .kb-button, .kb-submit-field button[type="submit"], .kb-form-submit button[type="submit"]').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* CF7 */
|
|
function turnstileCF7Callback() {
|
|
document.querySelectorAll('.wpcf7-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* MC4WP */
|
|
function turnstileMC4WPCallback() {
|
|
document.querySelectorAll('.mc4wp-form-fields input[type=submit]').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* MailPoet */
|
|
function turnstileMailpoetCallback() {
|
|
document.querySelectorAll('.mailpoet_submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* BuddyPress */
|
|
function turnstileBPCallback() {
|
|
document.querySelectorAll('#buddypress #signup-form .submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* BBPress */
|
|
function turnstileBBPressReplyCallback() {
|
|
document.querySelectorAll('#bbp_reply_submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* WPForms */
|
|
function turnstileWPFCallback() {
|
|
document.querySelectorAll('.wpforms-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Fluent Forms */
|
|
function turnstileFluentCallback() {
|
|
document.querySelectorAll('.fluentform .ff-btn-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Formidable Forms */
|
|
function turnstileFormidableCallback() {
|
|
document.querySelectorAll('.frm_forms .frm_button_submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Gravity Forms */
|
|
function turnstileGravityCallback() {
|
|
document.querySelectorAll('.gform_button').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Ultimate Member */
|
|
function turnstileUMCallback() {
|
|
document.querySelectorAll('#um-submit-btn').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* WP User Frontend */
|
|
function turnstileWPUFCallback() {
|
|
document.querySelectorAll('.wpuf-form input[type="submit"]').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* MemberPress */
|
|
function turnstileMEPRCallback() {
|
|
document.querySelectorAll('.mepr-submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* BBPress */
|
|
function turnstileBBPressCreateCallback() {
|
|
document.querySelectorAll('#bbp_topic_submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* SureForms */
|
|
function turnstilesureformsCallback() {
|
|
document.querySelectorAll('.srfm-submit-container .srfm-submit-button').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
}
|
|
/* Sunshine Photo Cart */
|
|
function turnstileSunshineCheckoutCallback() {
|
|
document.querySelectorAll('#sunshine--checkout--submit').forEach(function(el) {
|
|
el.style.pointerEvents = 'auto';
|
|
el.style.opacity = '1';
|
|
});
|
|
} |