PageSourceSearch

https://ekspert-bankowy.pl/wp-content/cache/min/1/wp-content/theme…/js/exchange-rate-widget.js?ver=1791060697

js ekspert-bankowy.pl collected 2026-10-04 01:30:33 UTC 1,009 bytes, 6 lines download raw bytes

1(function(){const widgetContainer=document.getElementById('exchangeRateWidget');if(!widgetContainer)return;const tableBody=widgetContainer.querySelector('tbody');const apiUrl='https://api.nbp.pl/api/exchangerates/tables/C/?format=json';fetch(apiUrl,{headers:{'Accept':'application/json'}}).then(response=>{if(!response.ok)throw new Error('Błąd sieci: '+response.statusText);return response.json()}).then(data=>{const rates=data[0].rates;const date=data[0].effectiveDate;const selectedCurrencies=['USD','EUR','CHF','GBP'];selectedCurrencies.forEach(code=>{const r=rates.find(item=>item.code===code);if(r){const row=document.createElement('tr');row.innerHTML=`
2            <td>${r.code}</td>
3            <td>${r.bid.toFixed(4)}</td>
4            <td>${r.ask.toFixed(4)}</td>
5            <td>${new Date(date).toLocaleDateString('pl-PL')}</td>
6          `;tableBody.appendChild(row)}})}).catch(error=>{widgetContainer.innerHTML=`<p style="color:red;">Błąd podczas pobierania danych: ${error.message}</p>`})})()

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.