PageSourceSearch

https://www.halternerzeitung.de/wp-content/plugins/rumble-newsport…/teaser-bundle-load-more.min.js?ver=2.87.0

js halternerzeitung.de collected 2026-10-02 10:40:42 UTC 1,475 bytes, 1 lines download raw bytes

1(()=>{class RumbleBlockTeaserBundleLoadMore{static async getPostTeasers(e){return(await fetch(e)).json()}static isPostAlreadyOnPage(e,t){const n=t.querySelector("#"+e);return null!==n&&"none"!==window.getComputedStyle(n).display}static initiateLoadMoreButton(e,t){const n=e.dataset.restParam,o=e.dataset.perLoad,l=e.previousElementSibling,a=l.previousElementSibling,s=document.createElement("div"),d=()=>{let t=0,n=!1,d=null;for(;t<o&&s.childElementCount>0;){const e=s.firstElementChild,o=e.firstElementChild.id;RumbleBlockTeaserBundleLoadMore.isPostAlreadyOnPage(o,a)?s.removeChild(e):(null===d&&(d=e),l.appendChild(e),t++,n=!0)}if(0===s.childElementCount&&!1===r&&(e.style.display="none",n=!0),n){window.dispatchEvent(new CustomEvent("bundleChanged"));const e=new CustomEvent("teasers-appended",{bubbles:!0});l.dispatchEvent(e)}null!==d&&(d.setAttribute("tabindex","0"),d.focus())};let r=!0,i=1;e.addEventListener("click",o=>{0===s.childElementCount&&r?(e.disabled=!0,e.classList.add("load-more-button--loading"),RumbleBlockTeaserBundleLoadMore.getPostTeasers(t+"?"+n+"&page="+i).then(t=>{s.innerHTML=t.html,!1===t.has_more&&(r=!1),e.classList.remove("load-more-button--loading"),e.disabled=!1,i++,d()})):d()})}}window.RumbleBlockTeaserBundleLoadMore=RumbleBlockTeaserBundleLoadMore,Array.from(document.getElementsByClassName("teaser-bundle__more-button")).forEach(e=>{RumbleBlockTeaserBundleLoadMore.initiateLoadMoreButton(e,"/wp-json/rumble-core/v1/post_teasers/")})})();

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.