PageSourceSearch

https://protyrecenter.ru/adaptive/js/addCart_pro.js?2026-10-10%20[01:42:53]

js protyrecenter.ru collected 2026-10-09 22:43:31 UTC 1,765 bytes, 61 lines download raw bytes

1function addCart(id,type) {
2    
3	//var nCookieID3 = $.cookie("nCookieID3");
4	//var domen = location.hostname;
5
6    var count = $('input[name="count'+id+'"]').val();
7
8
9    
10    var nCookieID3 = $('#nCookieID3').text()
11
12    console.log('Òîâàð â êîðçèíó:' + id);
13	console.log('Êóêè:' + nCookieID3);
14    console.log('Êîë-âî:' + count);
15    console.log('Òèï:' + type);
16	
17	
18  
19    $.ajax({
20    type: 'POST',
21    url: '/adaptive/ajax/addCart_pro.php',
22    data: {'id': id, 'type': type, 'nCookieID3': nCookieID3, 'count': count},
23    cache: false,
24    success: function(data) {
25            var result = jQuery.parseJSON(data);  
26            var CountBasketInfo = result["CountBasketInfo"];
27            var SumBasketInfo = result["SumBasketInfo"];
28		    
29			$('#CountBasket').html(CountBasketInfo);
30			$('#SumBasket').html(SumBasketInfo);
31			
32			//var Error = result["Error"];
33		    
34			//var count = result["info"];
35			
36			console.log('Ñóììà çàêàçà:' + SumBasketInfo);
37			console.log('Íîâîå êîë-âî:' + CountBasketInfo);
38			
39			//console.log('count..:' + count);
40			
41			
42			
43			
44			//âûâîä ñîîáùåíèÿ îá îòïðàâêå çàêàçà
45			$('#myAttention').html('<span><i class="fa fa-check fa-1x" aria-hidden="true"></i></span> Òîâàð äîáàâëåí â êîðçèíó! <div><a href="/basket/" class="link-attention">Ïåðåéòè â êîðçèíó</a></div>');		
46	        $('#myAttention').show(1000, function(){
47                    setTimeout(function(){
48                    $('#myAttention').hide(500);
49                }, 5000);
50            });
51	  
52	  
53        }
54    });
55  
56    //ìåíÿåì öâåò êíîïêè
57	//console.log('ìåíÿåì öâåò êíîïêè');
58	//$('#productBuy'+nModelID).text('Â êîðçèíå');
59	//$('#productBuy'+nModelID).attr("class", "product_buy_active");
60  
61}

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.