PageSourceSearch

https://senfeng.ru/local/assets/js/homepage.js?1761165591868

js senfeng.ru collected 2026-10-08 16:32:35 UTC 868 bytes, 32 lines download raw bytes

1window.addEventListener('load', () => {
2  const mapStub = document.querySelector('#ajax-reference-map')
3
4  if (mapStub) {
5    insertMap(mapStub)
6  }
7
8  function insertMap(target) {
9    fetch('/ajax/reference_list.php').then(response => {
10      if (response.ok) {
11        response.text().then(htmlContent => {
12          target.innerHTML = htmlContent
13
14          runTemplateScripts(htmlContent)
15          insertCustomMapScript()
16        })
17      }
18    })
19  }
20
21  function runTemplateScripts(htmlContent) {
22    const processed = BX.processHTML(htmlContent, false)
23    BX.ajax.processScripts(processed.SCRIPT)
24  }
25
26  function insertCustomMapScript() {
27    const script = document.createElement('script')
28    script.setAttribute('src', '/bitrix/templates/aspro_max/components/bitrix/map.yandex.view/map_reference/map-custom.js')
29
30    document.body.appendChild(script)
31  }
32})

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.