PageSourceSearch

https://xn----8sbafgkhtktgiebccdagbd4a4m4exa.xn--p1ai/local/templates/mediapro_main/js/custom.js

js xn----8sbafgkhtktgiebccdagbd4a4m4exa.xn--p1ai collected 2026-09-29 22:41:46 UTC 690 bytes, 16 lines download raw bytes

1window.addEventListener ("DOMContentLoaded", function() {
2	if (!localStorage.getItem('cookieConsent')) {
3		const cookieConsent = document.createElement('div');
4		cookieConsent.innerHTML = '<div class="cookie-consent">' +
5			'<p>Мы используем файлы cookie, чтобы улучшить ваше взаимодействие с сайтом.</p>' +
6			'<button class="cookie-consent__button">Принять</button>' +
7		'</div>';
8		document.body.appendChild(cookieConsent);
9		
10		const button = document.querySelector('.cookie-consent__button');
11		button.addEventListener('click', () => {
12			localStorage.setItem('cookieConsent', true);
13			cookieConsent.remove();
14		});
15	}
16});

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.