PageSourceSearch

https://www.greenconsulting.it/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.2.2

js greenconsulting.it collected 2026-09-25 01:33:58 UTC 1,267 bytes, 53 lines download raw bytes

1( function() {
2	document.addEventListener( 'DOMContentLoaded', function( event ) {
3
4		wpcf7_recaptcha.execute = function( action ) {
5			grecaptcha.execute(
6				wpcf7_recaptcha.sitekey,
7				{ action: action }
8			).then( function( token ) {
9				var event = new CustomEvent( 'wpcf7grecaptchaexecuted', {
10					detail: {
11						action: action,
12						token: token,
13					},
14				} );
15
16				document.dispatchEvent( event );
17			} );
18		};
19
20		wpcf7_recaptcha.execute_on_homepage = function() {
21			wpcf7_recaptcha.execute( wpcf7_recaptcha.actions[ 'homepage' ] );
22		};
23
24		wpcf7_recaptcha.execute_on_contactform = function() {
25			wpcf7_recaptcha.execute( wpcf7_recaptcha.actions[ 'contactform' ] );
26		};
27
28		grecaptcha.ready(
29			wpcf7_recaptcha.execute_on_homepage
30		);
31
32		document.addEventListener( 'change',
33			wpcf7_recaptcha.execute_on_contactform
34		);
35
36		document.addEventListener( 'wpcf7submit',
37			wpcf7_recaptcha.execute_on_homepage
38		);
39
40	} );
41
42	document.addEventListener( 'wpcf7grecaptchaexecuted', function( event ) {
43		var fields = document.querySelectorAll(
44			"form.wpcf7-form input[name='_wpcf7_recaptcha_response']"
45		);
46
47		for ( var i = 0; i < fields.length; i++ ) {
48			var field = fields[ i ];
49			field.setAttribute( 'value', event.detail.token );
50		}
51	} );
52
53} )();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.