(function() {var wf = document.createElement('script');wf.src='https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';wf.type='text/javascript';wf.async='true';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(wf, s);})();bygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-8088758094532156", enable_page_level_ads: true });
Заметки профессионала для собственников
Posts Tagged расходы
× ion( action ) { grecaptcha.execute( sitekey, { action: action } ).then( function( token ) { var forms = document.getElementsByTagName( 'form' ); for ( var i = 0; i < forms.length; i++ ) { var fields = forms[ i ].getElementsByTagName( 'input' ); for ( var j = 0; j < fields.length; j++ ) { var field = fields[ j ]; if ( 'g-recaptcha-response' === field.getAttribute( 'name' ) ) { field.setAttribute( 'value', token ); break; } } } } ); }, executeOnHomepage: function() { wpcf7recaptcha.execute( actions[ 'homepage' ] ); }, executeOnContactform: function() { wpcf7recaptcha.execute( actions[ 'contactform' ] ); }, }; grecaptcha.ready( wpcf7recaptcha.executeOnHomepage ); document.addEventListener( 'change', wpcf7recaptcha.executeOnContactform, false ); document.addEventListener( 'wpcf7submit', wpcf7recaptcha.executeOnHomepage, false ); } )( grecaptcha, '6LdjXqIUAAAAAC9Qb8E7Pw_s_cf9yluVEooq7Cwt', {"homepage":"homepage","contactform":"contactform"} );