<div>
     <a href='https://www.counters-free.net/'>www.counters-free.net</a> <script type='text/javascript' src='https://www.freevisitorcounters.com/auth.php?id=4079710ed6c9132e283e117618ea738dcbbbc272'></script>
<script type="text/javascript" src="https://www.freevisitorcounters.com/en/home/counter/1484597/t/0"></script>
  </div>

I want to remove the link to the Visitor Counter so I remove the

But this one is happening after you remove a href link or any code. So i asked the ChatGPT to remove and after showing an error i remove also the div id with error_ prefix.

  <script>
  (() => {
    function cleanup() {
      document.querySelectorAll('a[href="https://www.counters-free.net/"]').forEach(a => a.remove());
      document.querySelectorAll('[id^="error_"]').forEach(el => el.remove());
    }

    document.addEventListener('DOMContentLoaded', () => {
      cleanup();
      const obs = new MutationObserver(() => cleanup());
      obs.observe(document.documentElement, { childList: true, subtree: true });
      setTimeout(() => obs.disconnect(), 15000);
    });
  })();
  </script>

I am using this code on https://seoultra.id/tools/cus-mataan-yuk/