PageSourceSearch

https://www.crevin.fr/wp-content/plugins/creasit-rgpd/public/js/gdrf-public.js

js crevin.fr collected 2026-10-02 21:15:06 UTC 1,162 bytes, 38 lines download raw bytes

1( function( $ ) {
2	'use strict';
3	
4	jQuery(document).ready(function() {
5
6		$( '#gdrf-form' ).on( 'submit', function( event ) {
7			
8			event.preventDefault();
9						
10			var	button = $( '#gdrf-submit-button' ),
11				data = {
12					'action': 'gdrf_data_request',
13					'gdrf_data_type' : $( 'input[name=gdrf_data_type]:checked', '#gdrf-form').val(),
14					'gdrf_data_email': $( '#gdrf_data_email' ).val(),
15					'gdrf_data_human': $( '#gdrf_data_human' ).val(),
16					'gdrf_data_nonce': $( '#gdrf_data_nonce' ).val(),
17				};
18
19			$( '.gdrf-errors' ).remove();
20			$( '.gdrf-success' ).remove();
21
22			$.ajax({
23				url: gdrf_localize.gdrf_ajax_url,
24				type: 'post',
25				data: data,
26				success: function( response ) {
27					if ( 'success' !== response.data ) {
28						$( '#gdrf-form' ).append( '<div class="gdrf-errors" style="display:none;">' + gdrf_localize.gdrf_errors + '<br />' + response.data + '</div>' );
29						$( '.gdrf-errors' ).slideDown();
30					} else {
31						$( '#gdrf-form' ).append( '<div class="gdrf-success" style="display:none;">' + gdrf_localize.gdrf_success + '</div>' );
32						$( '.gdrf-success' ).slideDown();
33					}
34				}
35			});
36		});
37	});
38})( jQuery );

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.