PageSourceSearch

https://shop-scc.de/wp-content/cache/min/1/wp-content/plugins/brodos-cli/js/product-price.js?ver=1790939859

js shop-scc.de collected 2026-10-07 04:31:33 UTC 845 bytes, 1 lines download raw bytes

1document.addEventListener('DOMContentLoaded',()=>{const slides=document.querySelectorAll('.splide__slide[data-product-id]');if(!slides.length)return;const productIds=[...new Set([...slides].map(el=>el.dataset.productId))];fetch(productPriceData.ajax_url,{method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded'},body:new URLSearchParams({action:'get_product_prices',product_ids:JSON.stringify(productIds),nonce:productPriceData.nonce})}).then(r=>r.json()).then(data=>{if(!data.success)return;const allSlides=document.querySelectorAll('.splide__slide[data-product-id]');allSlides.forEach(slide=>{const id=slide.dataset.productId;const placeholder=slide.querySelector('.price-placeholder');if(placeholder&&data.data.prices[id]){placeholder.innerHTML=data.data.prices[id]}})}).catch(err=>console.error('Price fetch error:',err))})

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.