PageSourceSearch

https://citedelautomobile.com/sites/cda/modules/custom/mtlTopFooter/js/topfooter.js?p0myrb

js citedelautomobile.com collected 2026-10-02 10:42:36 UTC 669 bytes, 22 lines download raw bytes

1jQuery(function() {
2	
3	jQuery('#newsletter input[type=button]').click(function() {
4		console.log('12312');
5		if(jQuery('#newsletter input[type=text]').val() != "")
6			
7			email = jQuery('#newsletter input[type=text]').val();
8			if(validateEmail(email)){
9				window.location = 'newsletter?email='+email;
10			} else {
11				alert('Le mail renseigné n\'est pas valide !');
12				jQuery('#newsletter input[type=text]').focus();
13			}
14	});
15
16	function validateEmail(email) { 
17		var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
18		return re.test(email);
19	} 
20	
21});
22

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.