PageSourceSearch

https://golden-rus-travel.ru/e107_plugins/cookie_consent/js/cookie_consent.js

js golden-rus-travel.ru collected 2026-10-08 00:11:14 UTC 974 bytes, 37 lines download raw bytes

1var e107 = e107 || {'settings': {}, 'behaviors': {}};
2
3(function ($)
4{
5
6	/**
7	 * Behavior to initialize Cookie Consent.
8	 *
9	 * @type {{attach: Function}}
10	 */
11	e107.behaviors.cookieConsent = {
12		attach: function (context, settings)
13		{
14			$(context).find('body').once('cookie-consent').each(function ()
15			{
16				window.cookieconsent_options = {
17					message: settings.cookie_consent.message,
18					dismiss: settings.cookie_consent.dismiss,
19					learnMore: settings.cookie_consent.learnMore,
20					link: settings.cookie_consent.link,
21					container: settings.cookie_consent.container,
22					theme: settings.cookie_consent.theme,
23					path: settings.cookie_consent.path,
24					domain: settings.cookie_consent.domain,
25					expiryDays: settings.cookie_consent.expiryDays,
26					target: settings.cookie_consent.target
27				};
28
29				if (window.update_cookieconsent_options)
30				{
31					window.update_cookieconsent_options(window.cookieconsent_options);
32				}
33			});
34		}
35	};
36
37})(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.