<script> function runWhenLoaded() { const heading = document.querySelector('.side-center .section-hdr h1'); heading.innerHTML = 'Karmy dla kotów'; } function waitForDOM() { if(document.querySelector('footer') !== null) { runWhenLoaded(); return; } else { setTimeout(function() { waitForDOM(); }, 100); } } waitForDOM(); </script>