Pular para o conteúdo principal

🔄 Changing "SMS" to "WhatsApp QR"


🎯 What does this script do?

This script automatically changes the text "SMS" to "WhatsApp QR" in the GoHighLevel interface, making it clearer for you and your team that you're using WhatsApp via STEVO.


📍 Implementation Location

Access your Go High LevelSettingsCompanyCustom JavaScript and paste the code below:


💻 Code

<script>
(function() {
function trocarTexto() {
// Selector 1 - Main tab
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';
}
}

// First try immediately
trocarTexto();

// Observe DOM changes
const observer = new MutationObserver(() => {
trocarTexto();
});

observer.observe(document.body, {
childList: true,
subtree: true
});
})();
</script>

📝 Step by Step

  1. ✅ Copy the JavaScript code above
  2. ✅ Log in to your GoHighLevel Whitelabel account
  3. ✅ Go to SettingsCompanyCustom JavaScript
  4. ✅ Paste the code in the available box
  5. ✅ Click Save to apply the changes
  6. ✅ Refresh the page and verify it worked

💡 Result

After applying, where it showed "SMS" will now show "WhatsApp QR", making it easier to identify the communication channel.