PageSourceSearch

https://mywatershop.com.ua/local/templates/main/components/bitrix/…/main/script.js?17096266141932

js mywatershop.com.ua collected 2026-10-02 15:13:18 UTC 1,932 bytes, 51 lines download raw bytes

1if (document.getElementById('showMoreButton') != null)
2{
3	function loadPage()
4	{
5		if (document.getElementById('nextPageLink') != null)
6        {
7            if (BX.showMoreButton == undefined)
8                BX.showMoreButton = false;
9
10            var url = document.getElementById('nextPageLink').href;
11
12            if (url.length > 0 && !BX.showMoreButton)
13            {
14                var request = new XMLHttpRequest;
15                var data = new FormData;
16
17                BX.showMoreButton = true;
18
19                data.append('AJAX', 'Y');
20                request.open('post', url, true);
21                request.onreadystatechange = function(){
22                    if (this.readyState === 4) { // Check if the request is complete
23                        BX.showMoreButton = false;
24
25                        BX.closeWait();
26
27                        if (this.status != 200) {
28                            console.log(this.status + ': ' + this.statusText);
29                        } else {
30                            $('#showMoreButton, .bx-pagination').detach();
31                            document.querySelector('.news-list').innerHTML += $(this.responseText).find('.news-list').html();
32                            window.WV.tools.reinitLazy();
33                            if (document.getElementById('showMoreButton') != null)
34                                document.getElementById('showMoreButton').addEventListener('click', function (e) {
35                                    e.preventDefault();
36                                    loadPage();
37                                });
38                        }
39                    }
40                };
41                request.send(data);
42            }
43        }
44	}
45	
46	if (document.getElementById('showMoreButton') != null)
47	    document.getElementById('showMoreButton').addEventListener('click', function (e) {
48	        e.preventDefault();
49	        loadPage();
50	    });
51}

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.