https://www.osthessen-zeitung.de/_assets/e7a17d06bd8903aafd9fccf954f150c8/Js/SfBanners.js?1765131687
1/** 2 * When page is loaded, collect all banner configs and POST data to backend to fetch banners 3 */ 4document.addEventListener('DOMContentLoaded', () => { 5 let url = '' 6 let formData = new FormData(); 7 let hasBanners = false; 8 9 [...document.querySelectorAll('[id^="banner-"]')].forEach(banner => { 10 url = banner.dataset.fetchurl 11 hasBanners = true; 12 formData.append('tx_sfbanners_pi1[bannerConfigs][]', banner.dataset.config) 13 }); 14 15 if (hasBanners) { 16 fetch(url, { body: formData, method: 'POST' }) 17 .then((resp) => resp.json()) 18 .then(function (data) { 19 for (let i = 0; i < data.length; i++) { 20 postscribe('#banner-' + data[i]['uniqueId'], data[i]['html']) 21 } 22 }) 23 .catch(function (error) { 24 console.log(error) 25 }); 26 } 27})
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.