PageSourceSearch

https://bricktobrick.ru/netcat_template/template/bricktobrick_v3/assets/fav/custom.js

js bricktobrick.ru collected 2026-10-07 16:41:56 UTC 969 bytes, 19 lines download raw bytes

1function load_more( url, elem ){
2	var block = document.getElementById('fav_more-block');
3	var button = document.getElementById('fav_more-button');
4	button.innerHTML = '<img src="/netcat_template/template/bricktobrick_v3/assets/fav/assets/loading.svg" style="width: 90px; margin: 10px auto;">';
5	fetch( url ).then( response => {
6		return response.text();
7	}).then( html => {	
8		const parser = new DOMParser();
9		const doc = parser.parseFromString( html, "text/html" );
10		let new_block = doc.getElementById('fav_more-block');
11		let new_button = doc.getElementById('fav_more-button');
12		if( new_block ){ 
13            block.insertAdjacentHTML( "beforeend", new_block.innerHTML ); 
14            // const blocks = document.querySelectorAll(".animate_scroll");
15            // blocks.forEach( block => observer.observe( block ) );
16        }
17		button.innerHTML = ( new_button ? new_button.innerHTML : '' );
18	}).catch( error => { button.innerHTML = ''; });    
19}

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.