PageSourceSearch

https://www.bezrindas.lv/bezrindas/wstr/js/cookies.js?v242

js bezrindas.lv collected 2026-10-02 05:13:42 UTC 854 bytes, 36 lines download raw bytes

1(function ($) {
2	var expireTimer = 30;
3
4	function createCookie() {
5		var today = new Date(), expire = new Date();
6
7		if (expireTimer > 0) {
8			expire.setTime(today.getTime() + (expireTimer * 6 * 24 * 60 * 60 * 1000) ); // approximately 6 months
9			cookiestring = "brCookie=SetDataUseAgreement; "+"expires=" + expire.toUTCString() + "; path=/";
10		} else {
11			cookiestring = "brCookie=SetDataUseAgreement; "+"path=/";
12		}
13		document.cookie = cookiestring;
14	}
15
16	function verifyCookie() {
17
18		if (document.cookie.indexOf("brCookie") >= 0) {
19			brCookieSet = 1;
20		} else {
21			$(".bezrindas_cook_wrapper").show();
22		}
23
24		if ( typeof brCookieSet !== "undefined" && brCookieSet > 0) {
25			createCookie();
26		}
27
28		$('#bezrindas_cook_btn').click( function() {
29			createCookie();
30			$(".bezrindas_cook_wrapper").fadeOut("fast");
31		});
32	}
33
34	verifyCookie();
35
36})(jQuery);

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.