PageSourceSearch

https://janssencosmetics.ru/local/templates/aspro_max/js/custom.js?17900720181204

js janssencosmetics.ru collected 2026-10-04 23:30:23 UTC 1,204 bytes, 37 lines download raw bytes

1function loadSmartCaptcha(id) {
2	const waitForSmartCaptcha = setInterval(() => {
3		if (window.smartCaptcha) {
4			clearInterval(waitForSmartCaptcha);
5			const container = document.getElementById(id);
6
7			const widgetId = window.smartCaptcha.render(container, {
8				sitekey: 'ysc1_uJ8xdGPEQYPfelQJvYq5BjhvFrklNLTcTTvqt5Iz2c7c71b8',
9				hl: 'ru',
10				callback: function (token) {
11				},
12				invisible: true,
13				hideShield: true,
14			});
15
16			container.closest('form').dataset.widgetId = widgetId;
17
18			return widgetId;
19		}
20	}, 100);
21}
22
23$(document).on('click', '.detail-news1 .to-cart', function () {
24	ym(20761690, 'reachGoal', 'blog2basket');
25	console.log('Ушла цель blog2basket');
26});
27
28$(function ($) {
29	$(document).mouseup(function (e) { // событие клика по веб-документу
30		var div = $(".holidays-notice-popup-inner"); // тут указываем ID элемента
31		if (!div.is(e.target) // если клик был не по нашему блоку
32			&& div.has(e.target).length === 0) { // и не по его дочерним элементам
33			$('#holiday-notice-popup').hide(); // скрываем его
34			$('body').css('overflow-y', 'visible');
35		}
36	});
37});

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.