🔄 Cambiando "SMS" por "WhatsApp QR"
🎯 ¿Qué hace este script?
Este script cambia automáticamente el texto "SMS" por "WhatsApp QR" en la interfaz de GoHighLevel, dejando más claro para ti y tu equipo que están usando WhatsApp vía STEVO.
📍 Ubicación de Implementación
Accede a tu Go High Level → Settings → Company → Custom JavaScript y pega el código a continuación:
💻 Código
<script>
(function() {
function trocarTexto() {
// Selector 1 - Tab principal
const smsTab = document.querySelector('#composer-textarea > div > div.flex.flex-col.flex-1.min-w-0.h-full.rounded-md.border-none > div.flex.flex-row.py-1.items-center.justify-end.rounded-t-lg.\\!h-\\[32px\\].bg-gray-50 > div.flex.gap-6.items-center.w-full > div > span');
if (smsTab && smsTab.innerText.trim() === 'SMS') {
smsTab.innerText = 'WhatsApp QR';
}
// Selector 2 - Popover
const smsPopover = document.querySelector('#provider-select-popover > div.hr-popover__content > div > div > div.flex.items-center.justify-between.py-2.px-2.cursor-pointer.transition-colors.duration-150.hover\\:bg-gray-50.bg-blue-50 > div > div');
if (smsPopover && smsPopover.innerText.trim() === 'SMS') {
smsPopover.innerText = 'WhatsApp QR';
}
}
// Primero intenta de inmediato
trocarTexto();
// Observa cambios en el DOM
const observer = new MutationObserver(() => {
trocarTexto();
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})();
</script>
📝 Paso a Paso
- ✅ Copia el código JavaScript de arriba
- ✅ Inicia sesión en tu cuenta Whitelabel de GoHighLevel
- ✅ Ve a Settings → Company → Custom JavaScript
- ✅ Pega el código en la caja disponible
- ✅ Haz clic en Save para aplicar los cambios
- ✅ Actualiza la página y verifica si funcionó
💡 Resultado
Después de aplicar, donde aparecía "SMS" ahora aparecerá "WhatsApp QR", facilitando la identificación del canal de comunicación.