PageSourceSearch

https://www.dilussodeli.com/wp-content/cache/autoptimize/autoptimi…f024a59f8ca7726d3a835c2901e974a.php?ver=1.0

js dilussodeli.com collected 2026-10-02 14:05:06 UTC 1,334 bytes, 3 lines download raw bytes

1(function(){const btn=document.getElementById('recipes-load-more');const wrap=document.getElementById('postWrap');const list=document.getElementById('tiles');if(!btn||!wrap||!list)return;const maxPages=parseInt(wrap.dataset.maxPages||wrap.getAttribute('data-max-pages'),10)||1;const catSlug=wrap.dataset.cat||'';async function load(page){btn.disabled=true;const original=btn.textContent;btn.textContent='Loading…';try{const url=`/wp-json/dilusso/v1/recipes?page=${page}`+(catSlug?`&cat=${encodeURIComponent(catSlug)}`:'');const res=await fetch(url);const data=await res.json();const tmp=document.createElement('div');tmp.innerHTML=data.html||'';Array.from(tmp.children).forEach(n=>list.appendChild(n));if(data.nextPage){btn.dataset.nextPage=String(data.nextPage);btn.disabled=false;btn.textContent=original;if(catSlug){history.replaceState({},'',`/archives/recipes/${catSlug}/page/${page}/`);}else{history.replaceState({},'',`/recipes/page/${page}/`);}}else{if(catSlug){history.replaceState({},'',`/archives/recipes/${catSlug}/page/${page}/`);}else{history.replaceState({},'',`/recipes/page/${page}/`);}
2btn.remove();}}catch(e){console.error(e);btn.disabled=false;btn.textContent=original;}}
3btn.addEventListener('click',function(e){e.preventDefault();const next=parseInt(btn.dataset.nextPage,10);if(!isNaN(next))load(next);});})();

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.