PageSourceSearch

https://myilo.ru/wp-content/plugins/floating-contact-button-for-ma…/assets/js/front.js?ver=1778668394

js myilo.ru collected 2026-10-08 07:58:03 UTC 807 bytes, 31 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2
3    const mother = document.querySelector('.max-button-mother');
4    const bubble = document.querySelector('.max-button-bubble');
5    const hint   = document.querySelector('.max-button-hint');
6
7    if (!mother) return;
8
9    let hintShown = false;
10
11    // toggle меню + скрытие hint
12    if (bubble) {
13        mother.addEventListener('click', function () {
14            bubble.classList.toggle('open');
15
16            if (hint) {
17                hint.classList.remove('visible');
18            }
19        });
20    }
21
22    // hint показывается 1 раз через 5 секунд
23    if (hint && !hintShown) {
24        hintShown = true;
25
26        setTimeout(() => {
27            hint.classList.add('visible');
28        }, 5000);
29    }
30
31});

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.