PageSourceSearch

https://www.casamagalhaes.com.br/blog/wp-content/themes/bcm/js/main.js

js casamagalhaes.com.br collected 2026-09-24 12:38:55 UTC 1,026 bytes, 42 lines download raw bytes

1function checkemail(str){
2	var testresults = false;
3	var filter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
4	if (filter.test(str)){
5		testresults = true;
6	}
7	else {
8		testresults = false;
9	}
10	return (testresults);
11}
12
13jQuery(document).ready(function($){
14    jQuery("#submita").click( function(event){
15		event.preventDefault();
16		var email = jQuery(".sp_email").val();
17		var valido = 0;
18		if(email==""){
19			valido = 0;
20			alert("Informe um endereço de email!");
21		}else{
22			if(!checkemail(email)){
23				valido = 0;
24				alert("Informe um endereço de email válido!");
25			}else{
26				valido = 1;
27			}
28		}
29		if(valido==1){		
30			var data_array = [
31				{ name: 'email', value:email },			
32				{ name: 'identificador', value: 'Blog CM - Cadastro Inicial' },
33				{ name: 'token_rdstation', value: '895c9358ac6d19bb0940b7273620156d' }
34			];
35			RdIntegration.post(data_array);
36			setTimeout(sufor,1300);	
37		}
38	});	
39});
40function sufor(){ document.getElementById("sendpress_signup").submit();}
41
42

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.