 statusElement.className = 'status success';
          statusElement.textContent = 'Message may have been sent (GET fallback used)';
        };
        img.src = getUrl;
      });
    }
    
    // Initialize
    window.onload = function() {
      const statusElement = document.getElementById('connectionStatus');
      statusElement.textContent = 'Ready to send messages';
    };
  </script>
</body>
</html>
