PageSourceSearch

https://www.cromosomax.com/static/js/newsletter.js?v=5.8.6

js cromosomax.com collected 2026-10-02 10:35:11 UTC 1,612 bytes, 45 lines download raw bytes

1$(document).ready(function(){ 
2    $('#envio_newsletter').submit(agregarnewsletter);
3    $('#envio_newsletter_mobile').submit(agregarnewsletter_mobile);
4    $('#envio_newsletter_bottom').submit(agregarnewsletter);
5});
6
7
8function removeTags(string){
9  return string.replace(/(?:<(?:script|style)[^>]*>[\s\S]*?<\/(?:script|style)>|<[!\/]?[a-z]\w*(?:\s*[a-z][\w\-]*=?[^>]*)*>|<!--[\s\S]*?-->|<\?[\s\S]*?\?>)[\r\n]*/gi, '');
10}
11
12function agregarnewsletter(e){
13    e.preventDefault();
14    //console.error($('#id_confirm_laws').checked);
15    if ($('#id_confirm_laws').attr('checked',true)){
16        jQuery.ajax('/newsletter', {
17            complete: function(jqXHR) {
18                // FACEBOOK ADS
19                fbq('trackCustom', 'AddNewsletter');
20                fbq('track', 'Lead', {content_name:'AddNewsletter'});
21                // FACEBOOK ADS
22
23                var respuesta = $(jqXHR).attr('responseText');
24                $("#envio_newsletter").parents('#modal_popup').find('.modal-body').html(respuesta);
25                //$('#modal_popup').modal('hide');
26            },
27            data: $(this).serialize(),
28            type: 'POST'
29        });
30    }
31}
32function agregarnewsletter_mobile(e){
33    e.preventDefault();
34    //console.error($('#id_confirm_laws').checked);
35    if ($('#id_confirm_laws_mobile').attr('checked',true)){
36        jQuery.ajax('/newsletter', {
37            complete: function(jqXHR) {
38                alert(JSON.parse(jqXHR.responseText).error);
39                $("#mail-nl").val("");
40            },
41            data: $(this).serialize(),
42            type: 'POST'
43        });
44    }
45}

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.