PageSourceSearch

https://istudio-shop.ru/local/templates/aspro_max/js/setCookieOnDomains.js

js istudio-shop.ru collected 2026-09-30 05:45:41 UTC 582 bytes, 19 lines download raw bytes

1function setCookieOnDomains(name, id, config = {}) {
2	const defaultConfig = { path: "/", domain: arAsproOptions["SITE_ADDRESS"] };
3	config = Object.assign({}, defaultConfig, config);
4
5	if (arAsproOptions["SITE_ADDRESS"].indexOf(",") != "-1") {
6		const arDomains = arAsproOptions["SITE_ADDRESS"].split(",");
7		if (arDomains) {
8			for (let i in arDomains) {
9				const domain_name = arDomains[i].replace("\n", "").replace("'", "");
10
11				config = Object.assign({}, config, { domain: domain_name });
12
13				$.cookie(name, id, config);
14			}
15		}
16	} else {
17		$.cookie(name, id, config);
18	}
19}

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.