PageSourceSearch

https://mil-ru.ru/media/plg_everything_in_everyway_acymailing/js/acymailing.js

js mil-ru.ru collected 2026-10-05 00:49:57 UTC 1,737 bytes, 59 lines download raw bytes

1jQuery(document).ready(function($){
2
3    $('.pwebSubmitNewsletterAcymailing').click(function(){
4
5        var lists = $(this).data('lists');
6        var parent = $(this).parent();
7        var email = parent.find('input').val();
8        var $self = $(this);
9
10        if( $self.attr('disabled') )
11            return false;
12
13        if( /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(email) == false
14            && email.length > 0)
15        {
16
17            parent.find('input').addClass('invalid');
18            return false;
19        }
20        else
21        {
22
23            parent.find('input').removeClass('invalid');
24        }
25
26        $.ajax({
27            url: 'index.php?option=com_acymailing&ctrl=sub&task=optin&ajax=1&user[email]='+ email +'&hiddenlists=' + lists,
28            beforeSend: function(){
29                $self.after( $('<i class="icon icon-loop pweb-animate-loop"></i>') );
30                $self.attr('disabled', 'disabled');
31            },
32            success: function (data) {
33
34                $self.next('.icon-loop').remove();
35                $self.removeAttr('disabled');
36
37                var response = JSON.parse(data);
38
39                console.log( response );
40
41                if( response.code == 3 && response.type == 'success' )
42                {
43
44                    parent.slideUp();
45                    parent.next().slideDown();
46
47                    setTimeout(function(){
48
49                        parent.slideDown();
50                        parent.next().slideUp();
51                    }, 10000);
52                }
53            },
54            error: function(e){
55                console.log(e);
56            }
57        });
58    });
59});

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.