<html><head><title>Page Title</title></head><body> <a id="compartilhar-whatsapp" href="javascript:void(0);" onclick="shareOnWhatsApp()">Compartilhar no WhatsApp</a><script>// Função para obter a URL da página atualfunction getCurrentURL() {return window.location.href;}// Função para compartilhar no WhatsAppfunction shareOnWhatsApp() {var currentURL = getCurrentURL();var whatsappURL = "https://api.whatsapp.com/send?text=" + encodeURIComponent(currentURL);window.open(whatsappURL, '_blank');}</script></body></body></html>