PageSourceSearch

https://levenhukb2b.com/local/modules/intervolga.levenhuk.enrich/js/public/lazycaptcha.js

js levenhukb2b.com collected 2026-10-05 01:51:07 UTC 900 bytes, 25 lines download raw bytes

1window.lazyCaptcha = window.lazyCaptcha || function(selector, options) {
2	const observer = new IntersectionObserver(entries => {
3		entries.forEach(entry => {
4			if (!entry.isIntersecting) return;
5
6			const captcha = entry.target.querySelector('[name="captcha_word"]');
7			if (captcha && window['renderRecaptchaById']) {
8				const uniqueId = entry.target.querySelector('[name="captcha_sid"]').value.slice(0, 4);
9				const recaptchaId = 'recaptcha-' + uniqueId;
10				const captchaParentNode = captcha.parentNode;
11
12				if(captchaParentNode.querySelector('#' + recaptchaId) !== null) return;
13				captchaParentNode.appendChild(Object.assign(document.createElement('div'), {
14					id: recaptchaId,
15					className: 'g-recaptcha'
16				}));
17				window.renderRecaptchaById('recaptcha-' + uniqueId);
18			}
19		});
20	}, options);
21
22	document.querySelectorAll(selector).forEach((i) => {
23		i && observer.observe(i);
24	});
25}

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.