GoHighLevel does not play notification sounds properly, especially when a live chat comes in. This causes you to lose your chance to respond to the live chat in a timely manner.
This script ensures a sound is played when notifications, such as live chat notifications, turn on.
The script continuously checks if the #recent_activities-toggle element contains -notification. If present, it starts playing a sound repeatedly. If removed, it stops the sound. The loop runs every 1 second.