1document.addEventListener("DOMContentLoaded", function() { 2 // Skript vybere pouze ty filtry, které jsou uvnitÅ elementu s tÅÃdou "seradit-moje-linky" 3 const targetedContainers = document.querySelectorAll('.seradit-moje-linky .sppb-panel-body.sppb-addon-dynamic-content-filter-item-content'); 4 5 targetedContainers.forEach(container => { 6 const items = Array.from(container.querySelectorAll('.sppb-addon-dynamic-content-filter-item-checkbox-option')); 7 8 if (items.length > 0) { 9 items.sort((a, b) => { 10 const labelA = a.querySelector('label').innerText.trim(); 11 const labelB = b.querySelector('label').innerText.trim(); 12 return labelA.localeCompare(labelB, undefined, {numeric: true, sensitivity: 'base'}); 13 }); 14 15 items.forEach(item => container.appendChild(item)); 16 } 17 }); 18});
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.