PageSourceSearch

https://fresh-create.ru/wp-content/themes/astra/assets/js/cast_script.js

js fresh-create.ru collected 2026-10-02 16:27:08 UTC 877 bytes, 42 lines download raw bytes

1freezze = readCookie('freezze'); 
2function readCookie(name) {
3  var matches = document.cookie.match(new RegExp(
4    "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
5  ));
6  return matches ? decodeURIComponent(matches[1]) : undefined;
7}
8
9if(freezze!=undefined){
10
11 var element = document.getElementById('data_actiajs');
12element.append(freezze);
13  
14   
15   } else{
16	   
17	   
18 var element = document.getElementById('data_actiajs');
19var daynum=7;//Сколько дней до окончания акции
20var newd2 = moment().add('days',daynum).format("D. M. YYYY");
21element.append(newd2);
22	   
23	   writeCookie('freezze', newd2,7);
24 
25function writeCookie(name, val, expires) {
26  var date = new Date;
27  date.setDate(date.getDate() + expires);
28  document.cookie = name+"="+val+"; path=/; expires=" + date.toUTCString();
29}
30
31  
32	   
33  
34	   
35   }
36
37	
38	
39
40
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.