PageSourceSearch

https://elenalais.ru/wp-content/themes/lais/js/jquery.cookies.js

js elenalais.ru collected 2026-10-05 00:08:00 UTC 736 bytes, 36 lines download raw bytes

1//create cookie
2function createCookie(name, value, days, path)
3{
4	if (days)
5	{
6		var date = new Date();
7		date.setTime(date.getTime()+(days*24*60*60*1000));
8		var expires = "; expires="+date.toGMTString();
9	}
10	else var expires = "";
11	if(path){
12		var path = "; path="+path;
13	}
14	else var path = "; path=/";
15	document.cookie = name+"="+value+expires+path;
16}
17
18//read cookie
19function readCookie(name)
20{
21	var nameEQ = name + "=";
22	var ca = document.cookie.split(';');
23	for(var i=0;i < ca.length;i++)
24	{
25		var c = ca[i];
26		while (c.charAt(0)==' ') c = c.substring(1,c.length);
27		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
28	}
29	return null;
30}
31
32//erase cookie
33function eraseCookie(name)
34{
35	createCookie(name,"",-1);
36}

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.