PageSourceSearch

https://4m3.ru/player-loader.js

js 4m3.ru collected 2026-10-07 17:32:09 UTC 967 bytes, 25 lines download raw bytes

1// Загружает плеер на любую страницу
2
3(function() {
4    // Проверяем, не загружен ли уже плеер
5    if (document.getElementById('audioPlayer')) {
6        console.log('Плеер уже загружен');
7        return;
8    }
9
10    // Загружаем HTML плеера
11    fetch('https://4m3.ru/player-partial.html')
12        .then(response => response.text())
13        .then(html => {
14            // Вставляем HTML в конец body
15            document.body.insertAdjacentHTML('beforeend', html);
16            
17            // После загрузки HTML, загружаем JS плеера
18            const script = document.createElement('script');
19            script.src = 'https://4m3.ru/player-script.js';
20            document.head.appendChild(script);
21        })
22        .catch(error => {
23            console.error('Ошибка загрузки плеера:', error);
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.