PageSourceSearch

https://fizjo4life.pl/wp-content/themes/fizjo4life/js/custom-product-stock.js

js fizjo4life.pl collected 2026-09-29 00:41:54 UTC 588 bytes, 16 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2    var productId = new URLSearchParams(window.location.search).get('product_id');
3    if(productId) {
4        fetch(productData.ajax_url, {
5            method: 'POST',
6            headers: {
7                'Content-Type': 'application/x-www-form-urlencoded',
8            },
9            body: 'action=get_product_stock&product_id=' + productId
10        })
11        .then(response => response.text())
12        .then(stockQuantity => {
13            console.log('Ilość produktów na stanie: ' + stockQuantity);
14        });
15    }
16});

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.