PageSourceSearch

https://cargo-avto.ru/local/components/hl/linkbysite/templates/promo/script.js

js cargo-avto.ru collected 2026-10-02 06:44:42 UTC 714 bytes, 17 lines download raw bytes

1$(document).ready(function() {
2	// alert(BX.getCookie("BITRIX_SM_LINK_VISITOR"));
3	if(BX.getCookie("BITRIX_SM_LINK_VISITOR") == "Y")
4		$(".link-block").removeClass('active');
5	$(".link-block").on("click", ".link-button", function(){
6		_parent = $(this).parents(".link-block");
7		if(_parent.hasClass("active")){
8			_parent.removeClass('active');
9			BX.setCookie("BITRIX_SM_LINK_VISITOR", "Y", {expires: new Date(new Date().getTime() + 3600 * 24 * 1000), path: "/"})
10		}else{
11			_parent.addClass('active');
12		}
13	});
14	$(".link-block").on("click", ".link-href", function(){
15		BX.setCookie("BITRIX_SM_LINK_VISITOR", "Y", {expires: new Date(new Date().getTime() + 3600 * 24 * 1000), path: "/"});
16	});
17});

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.